Java
Java is a medium, saturated cyan color with the hex code #259797 (hue 180°, saturation 61%, lightness 37%).
- HEX
#259797 - RGB
rgb(37 151 151) - HSL
hsl(180 61% 37%) - OKLCH
oklch(61.7% 0.096 195)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Java | #259797 | 37, 151, 151 | 180°, 61%, 37% | 75, 0, 0, 41 | 61.7% 0.096 195 |
Contrast with white text 3.53:1, with black text 5.95:1 — use black text on Java.
Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work
Adjust Java
Move the sliders to make Java lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#259797 - RGB
rgb(37 151 151) - HSL
hsl(180 61% 37%)
Variations of Java
Text on Java
WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.
Java with color blindness
How Java appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.
Tints and shades
Colors that go with Java
Six color schemes built on Java with classic harmony rules. The complementary scheme pairs it with Tamed Beast (#9C2626), the color opposite it on the color wheel.
- Java Complementary Color Scheme#259797#48D1CC#9C2626#5D1916#D34D4D
- Java Analogous Color Scheme#229922#229955#259797#265C98#312297
- Java Triadic Color Scheme#259797#942193#8E9A21#58CFD4#581A57
- Java Split-complementary Color Scheme#259797#9C2D5D#9C5F22#19565E#D13D82
- Java Tetradic Color Scheme#259797#552299#9C2626#5F9727#58CFD4
- Java Monochromatic Color Scheme#0E191C#19565E#259797#30D5C8#78D8D9
Nearest CSS named colors
- Dark Cyan (
darkcyan): Dark Cyan (#008B8B) is darker than Java (relative luminance 0.203 vs 0.248) and more saturated, with the same hue. - Cadet Blue (
cadetblue): Cadet Blue (#5F9EA0) is lighter than Java (relative luminance 0.294 vs 0.248) and less saturated, with the same hue. - Teal (
teal): Teal (#008080) is darker than Java (relative luminance 0.170 vs 0.248) and more saturated, with the same hue. - Light Sea Green (
lightseagreen): Light Sea Green (#20B2AA) is lighter than Java (relative luminance 0.351 vs 0.248) and more saturated, with its hue 3° away.
Similar dark teal colors
- After the Storm#33616A
- Ahoy! Blue#0082A1
- Aqua Obscura#05696B
- Arctic Nights#345C61
- Baltic#279D9F
- Beau Vert#0C6064
- Bermuda#1B7D8D
- Billiard#00AF9F
- Bleu Ciel#007BA1
- Blue Fjord#007290
- Blue Ocean#009DC4
- Blue-Collar#005F7A
- Celestial#007894
- Copacabana#006C8D
- Corfu Waters#008AAD
- Cruising#018498
- Dark Cyan#008B8B
- Deep Lagoon#005A6F
Questions
What is the hex code for Java?
#259797 — RGB 37, 151, 151, HSL 180°, 61%, 37%.
Is Java a warm or cool color?
Cool — its hue sits at 180° on the color wheel.