#268E1F#268E1F
#268E1F is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.173 H 142.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #268E1F |
|---|---|
| RGB | rgb(38, 142, 31) |
| HSL | hsl(116, 64%, 34%) |
| HSV | hsv(116, 78%, 56%) |
| CMYK | cmyk(73.2%, 0%, 78.2%, 44.3%) |
| CIE-LAB | lab(51.67, -50.13, 47.21) |
| CIE-LCH | lch(51.67, 68.86, 136.72°) |
| OKLab | oklab(56.7% -0.1364 0.106) |
| OKLCH | oklch(56.7% 0.173 142.2) |
| XYZ | xyz(10.7190, 19.8558, 4.5637) |
| Luminance | 0.1986 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.28
Emerald Green
#028F1E
ΔE00 1.42
True Green
#089404
ΔE00 2.80
Irish Green
#019529
ΔE00 2.88
Kelley Green
#009337
ΔE00 3.95
Green
#008000
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#268E1F #871F8E
analogous
#5E8E1F #268E1F #1F8E50
triadic
#268E1F #1F268E #8E1F26
tetradic
#268E1F #1F5E8E #871F8E #8E501F
square
#268E1F #1F5E8E #871F8E #8E501F
split-complementary
#268E1F #501F8E #8E1F5E
monochromatic
#0B2A09 #195C14 #268E1F #33C02A #58D94F
Accessibility & contrast
On white
4.22
#268E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#268E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #268E1F
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##268E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##268E1F | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918004
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#048A79
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #268e1f; /* rgb */ color: rgb(38, 142, 31); /* oklch */ color: oklch(56.7% 0.173 142.2);
Tailwind
colors: {
custom: {
50: '#72b063',
500: '#268e1f',
950: '#000000',
},
}SCSS
$custom: #268e1f; $custom-light: #72b063; $custom-dark: #000000;
JSON
{
"hex": "#268e1f",
"rgb": {
"r": 38,
"g": 142,
"b": 31
},
"hsl": {
"h": 116.216,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.56696,
"c": 0.17275,
"h": 142.2
},
"luminance": 0.19857
}Semantic roles & 50–950 ramp
primary
#268E1F
secondary
#B54DBB
accent
#41E7DD
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A