#267F17#267F17
#267F17 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.160 H 141.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #267F17 |
|---|---|
| RGB | rgb(38, 127, 23) |
| HSL | hsl(111, 69%, 29%) |
| HSV | hsv(111, 82%, 50%) |
| CMYK | cmyk(70.1%, 0%, 81.9%, 50.2%) |
| CIE-LAB | lab(46.51, -45.49, 44.92) |
| CIE-LCH | lch(46.51, 63.93, 135.36°) |
| OKLab | oklab(52.4% -0.1243 0.1) |
| OKLCH | oklch(52.4% 0.16 141.2) |
| XYZ | xyz(8.5429, 15.6518, 3.3813) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.49
Green
#008000
ΔE00 2.00
Dark Grass Green
#388004
ΔE00 2.91
Forestgreen (CSS)
#228B22
ΔE00 4.29
Darkish Green
#287C37
ΔE00 5.26
Emerald Green
#028F1E
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#267F17 #70177F
analogous
#5A7F17 #267F17 #177F3C
triadic
#267F17 #17267F #7F1726
tetradic
#267F17 #175A7F #70177F #7F3C17
square
#267F17 #175A7F #70177F #7F3C17
split-complementary
#267F17 #3C177F #7F175A
monochromatic
#081A05 #164B0E #267F17 #36B320 #4EDB36
Accessibility & contrast
On white
5.08
#267F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#267F17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #267F17
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##267F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##267F17 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#137B6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #267f17; /* rgb */ color: rgb(38, 127, 23); /* oklch */ color: oklch(52.4% 0.160 141.2);
Tailwind
colors: {
custom: {
50: '#6fa55e',
500: '#267f17',
950: '#000000',
},
}SCSS
$custom: #267f17; $custom-light: #6fa55e; $custom-dark: #000000;
JSON
{
"hex": "#267f17",
"rgb": {
"r": 38,
"g": 127,
"b": 23
},
"hsl": {
"h": 111.346,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.524,
"c": 0.15954,
"h": 141.2
},
"luminance": 0.15653
}Semantic roles & 50–950 ramp
primary
#267F17
secondary
#A33EB4
accent
#3CECD3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79