#268D1F#268D1F
#268D1F is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.172 H 142.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #268D1F |
|---|---|
| RGB | rgb(38, 141, 31) |
| HSL | hsl(116, 64%, 34%) |
| HSV | hsv(116, 78%, 55%) |
| CMYK | cmyk(73%, 0%, 78%, 44.7%) |
| CIE-LAB | lab(51.34, -49.79, 46.87) |
| CIE-LCH | lch(51.34, 68.38, 136.73°) |
| OKLab | oklab(56.42% -0.1355 0.1053) |
| OKLCH | oklch(56.42% 0.172 142.2) |
| XYZ | xyz(10.5709, 19.5596, 4.5143) |
| Luminance | 0.1956 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.97
Emerald Green
#028F1E
ΔE00 1.50
True Green
#089404
ΔE00 3.09
Irish Green
#019529
ΔE00 3.14
Kelley Green
#009337
ΔE00 4.05
Green
#008000
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#268D1F #861F8D
analogous
#5D8D1F #268D1F #1F8D4F
triadic
#268D1F #1F268D #8D1F26
tetradic
#268D1F #1F5D8D #861F8D #8D4F1F
square
#268D1F #1F5D8D #861F8D #8D4F1F
split-complementary
#268D1F #4F1F8D #8D1F5D
monochromatic
#0B2909 #185B14 #268D1F #34BF2A #57D84E
Accessibility & contrast
On white
4.28
#268D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#268D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #268D1F
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##268D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##268D1F | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#058978
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #268d1f; /* rgb */ color: rgb(38, 141, 31); /* oklch */ color: oklch(56.4% 0.172 142.2);
Tailwind
colors: {
custom: {
50: '#71af63',
500: '#268d1f',
950: '#000000',
},
}SCSS
$custom: #268d1f; $custom-light: #71af63; $custom-dark: #000000;
JSON
{
"hex": "#268d1f",
"rgb": {
"r": 38,
"g": 141,
"b": 31
},
"hsl": {
"h": 116.182,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.56415,
"c": 0.1716,
"h": 142.2
},
"luminance": 0.19561
}Semantic roles & 50–950 ramp
primary
#268D1F
secondary
#B44DBB
accent
#41E7DC
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A