#267D1F#267D1F
#267D1F is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.153 H 142.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #267D1F |
|---|---|
| RGB | rgb(38, 125, 31) |
| HSL | hsl(116, 60%, 31%) |
| HSV | hsv(116, 75%, 49%) |
| CMYK | cmyk(69.6%, 0%, 75.2%, 51%) |
| CIE-LAB | lab(45.88, -44.17, 41.42) |
| CIE-LCH | lch(45.88, 60.55, 136.84°) |
| OKLab | oklab(51.89% -0.1203 0.0939) |
| OKLCH | oklch(51.89% 0.153 142) |
| XYZ | xyz(8.3798, 15.1774, 3.7840) |
| Luminance | 0.1518 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.07
Green
#008000
ΔE00 2.89
Dark Grass Green
#388004
ΔE00 3.95
Darkish Green
#287C37
ΔE00 4.09
Forestgreen (CSS)
#228B22
ΔE00 4.98
Emerald Green
#028F1E
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#267D1F #761F7D
analogous
#557D1F #267D1F #1F7D47
triadic
#267D1F #1F267D #7D1F26
tetradic
#267D1F #1F557D #761F7D #7D471F
square
#267D1F #1F557D #761F7D #7D471F
split-complementary
#267D1F #471F7D #7D1F55
monochromatic
#081B07 #174C13 #267D1F #35AE2B #50D145
Accessibility & contrast
On white
5.20
#267D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#267D1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #267D1F
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##267D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##267D1F | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80710E
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#12796B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #267d1f; /* rgb */ color: rgb(38, 125, 31); /* oklch */ color: oklch(51.9% 0.153 142.0);
Tailwind
colors: {
custom: {
50: '#6ea461',
500: '#267d1f',
950: '#000000',
},
}SCSS
$custom: #267d1f; $custom-light: #6ea461; $custom-dark: #000000;
JSON
{
"hex": "#267d1f",
"rgb": {
"r": 38,
"g": 125,
"b": 31
},
"hsl": {
"h": 115.532,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.51886,
"c": 0.15261,
"h": 142
},
"luminance": 0.15178
}Semantic roles & 50–950 ramp
primary
#267D1F
secondary
#A848B0
accent
#44E3D8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79