#185945#185945
#185945 is a dark, moderate teal. Relative luminance 0.078; OKLCH L 41.8% C 0.073 H 168.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #185945 |
|---|---|
| RGB | rgb(24, 89, 69) |
| HSL | hsl(162, 58%, 22%) |
| HSV | hsv(162, 73%, 35%) |
| CMYK | cmyk(73%, 0%, 22.5%, 65.1%) |
| CIE-LAB | lab(33.50, -25.71, 5.74) |
| CIE-LCH | lch(33.50, 26.34, 167.42°) |
| OKLab | oklab(41.76% -0.0716 0.0147) |
| OKLCH | oklch(41.76% 0.073 168.4) |
| XYZ | xyz(5.0227, 7.7681, 6.8637) |
| Luminance | 0.0777 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Green Blue
#1F6357
ΔE00 4.93
Dark Blue Green
#005249
ΔE00 5.12
Spruce
#0A5F38
ΔE00 6.32
Hunter Green
#355E3B
ΔE00 7.01
Evergreen
#05472A
ΔE00 7.04
Pine
#2B5D34
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#185945 #59182C
analogous
#185924 #185945 #184D59
triadic
#185945 #451859 #594518
tetradic
#185945 #241859 #59182C #4D5918
square
#185945 #241859 #59182C #4D5918
split-complementary
#185945 #59184D #592418
monochromatic
#061813 #0B2920 #185945 #25896A #32B990
Accessibility & contrast
On white
8.22
#185945 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#185945 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #185945
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##185945 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##185945 | 1.00 | 8.22 | 2.55 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#575344
Deuteranopia (green-blind)
#4E4C46
Tritanopia (blue-blind)
#005953
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #185945; /* rgb */ color: rgb(24, 89, 69); /* oklch */ color: oklch(41.8% 0.073 168.4);
Tailwind
colors: {
custom: {
50: '#5f8878',
500: '#185945',
950: '#000000',
},
}SCSS
$custom: #185945; $custom-light: #5f8878; $custom-dark: #000000;
JSON
{
"hex": "#185945",
"rgb": {
"r": 24,
"g": 89,
"b": 69
},
"hsl": {
"h": 161.538,
"s": 57.522,
"l": 22.157
},
"oklch": {
"l": 0.41757,
"c": 0.07307,
"h": 168.4
},
"luminance": 0.07769
}Semantic roles & 50–950 ramp
primary
#185945
secondary
#903D57
accent
#4776E1
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050B09
muted
#797C7B