#268C2F#268C2F
#268C2F is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.160 H 144.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #268C2F |
|---|---|
| RGB | rgb(38, 140, 47) |
| HSL | hsl(125, 57%, 35%) |
| HSV | hsv(125, 73%, 55%) |
| CMYK | cmyk(72.9%, 0%, 66.4%, 45.1%) |
| CIE-LAB | lab(51.12, -47.96, 40.19) |
| CIE-LCH | lch(51.12, 62.58, 140.03°) |
| OKLab | oklab(56.28% -0.1298 0.0933) |
| OKLCH | oklch(56.28% 0.16 144.3) |
| XYZ | xyz(10.6898, 19.3723, 5.8646) |
| Luminance | 0.1937 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.66
Emerald Green
#028F1E
ΔE00 2.46
Kelley Green
#009337
ΔE00 2.88
Irish Green
#019529
ΔE00 3.38
True Green
#089404
ΔE00 4.86
Tree Green
#2A7E19
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#268C2F #8C2683
analogous
#508C26 #268C2F #268C62
triadic
#268C2F #2F268C #8C2F26
tetradic
#268C2F #26508C #8C2683 #8C6226
square
#268C2F #26508C #8C2683 #8C6226
split-complementary
#268C2F #62268C #8C2650
monochromatic
#0C2C0F #195C1F #268C2F #33BC3F #5AD265
Accessibility & contrast
On white
4.31
#268C2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#268C2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #268C2F
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##268C2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##268C2F | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #268c2f; /* rgb */ color: rgb(38, 140, 47); /* oklch */ color: oklch(56.3% 0.160 144.3);
Tailwind
colors: {
custom: {
50: '#70af6c',
500: '#268c2f',
950: '#000000',
},
}SCSS
$custom: #268c2f; $custom-light: #70af6c; $custom-dark: #000000;
JSON
{
"hex": "#268c2f",
"rgb": {
"r": 38,
"g": 140,
"b": 47
},
"hsl": {
"h": 125.294,
"s": 57.303,
"l": 34.902
},
"oklch": {
"l": 0.56275,
"c": 0.15982,
"h": 144.3
},
"luminance": 0.19373
}Semantic roles & 50–950 ramp
primary
#268C2F
secondary
#B757AF
accent
#47D3E1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A