#267C1F#267C1F
#267C1F is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.151 H 142.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #267C1F |
|---|---|
| RGB | rgb(38, 124, 31) |
| HSL | hsl(115, 60%, 30%) |
| HSV | hsv(115, 75%, 49%) |
| CMYK | cmyk(69.4%, 0%, 75%, 51.4%) |
| CIE-LAB | lab(45.53, -43.81, 41.06) |
| CIE-LCH | lch(45.53, 60.05, 136.85°) |
| OKLab | oklab(51.6% -0.1193 0.0931) |
| OKLCH | oklch(51.6% 0.151 142) |
| XYZ | xyz(8.2538, 14.9254, 3.7420) |
| Luminance | 0.1493 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.29
Green
#008000
ΔE00 3.08
Darkish Green
#287C37
ΔE00 4.00
Dark Grass Green
#388004
ΔE00 4.13
Forestgreen (CSS)
#228B22
ΔE00 5.33
Jungle Green
#048243
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#267C1F #751F7C
analogous
#547C1F #267C1F #1F7C46
triadic
#267C1F #1F267C #7C1F26
tetradic
#267C1F #1F547C #751F7C #7C461F
square
#267C1F #1F547C #751F7C #7C461F
split-complementary
#267C1F #461F7C #7C1F54
monochromatic
#081A07 #174B13 #267C1F #35AD2B #4FD045
Accessibility & contrast
On white
5.27
#267C1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#267C1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #267C1F
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##267C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##267C1F | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F700F
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#13786A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #267c1f; /* rgb */ color: rgb(38, 124, 31); /* oklch */ color: oklch(51.6% 0.151 142.0);
Tailwind
colors: {
custom: {
50: '#6da361',
500: '#267c1f',
950: '#000000',
},
}SCSS
$custom: #267c1f; $custom-light: #6da361; $custom-dark: #000000;
JSON
{
"hex": "#267c1f",
"rgb": {
"r": 38,
"g": 124,
"b": 31
},
"hsl": {
"h": 115.484,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.51601,
"c": 0.15138,
"h": 142
},
"luminance": 0.14926
}Semantic roles & 50–950 ramp
primary
#267C1F
secondary
#A748AF
accent
#45E3D7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79