#268F2A#268F2A
#268F2A is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.167 H 143.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #268F2A |
|---|---|
| RGB | rgb(38, 143, 42) |
| HSL | hsl(122, 58%, 35%) |
| HSV | hsv(122, 73%, 56%) |
| CMYK | cmyk(73.4%, 0%, 70.6%, 43.9%) |
| CIE-LAB | lab(52.09, -49.53, 43.41) |
| CIE-LCH | lch(52.09, 65.86, 138.77°) |
| OKLab | oklab(57.06% -0.1343 0.0995) |
| OKLCH | oklch(57.06% 0.167 143.5) |
| XYZ | xyz(11.0390, 20.2229, 5.5117) |
| Luminance | 0.2022 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.59
Emerald Green
#028F1E
ΔE00 1.63
Irish Green
#019529
ΔE00 2.30
Kelley Green
#009337
ΔE00 2.76
True Green
#089404
ΔE00 3.55
Fern Green
#548D44
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#268F2A #8F268B
analogous
#568F26 #268F2A #268F5E
triadic
#268F2A #2A268F #8F2A26
tetradic
#268F2A #26568F #8F268B #8F5E26
square
#268F2A #26568F #8F268B #8F5E26
split-complementary
#268F2A #5E268F #8F2656
monochromatic
#0C2E0E #195F1C #268F2A #33BF38 #5CD460
Accessibility & contrast
On white
4.16
#268F2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#268F2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #268F2A
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##268F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##268F2A | 1.00 | 4.16 | 5.04 | 5.04 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92811B
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #268f2a; /* rgb */ color: rgb(38, 143, 42); /* oklch */ color: oklch(57.1% 0.167 143.5);
Tailwind
colors: {
custom: {
50: '#71b169',
500: '#268f2a',
950: '#000000',
},
}SCSS
$custom: #268f2a; $custom-light: #71b169; $custom-dark: #000000;
JSON
{
"hex": "#268f2a",
"rgb": {
"r": 38,
"g": 143,
"b": 42
},
"hsl": {
"h": 122.286,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.57064,
"c": 0.16712,
"h": 143.5
},
"luminance": 0.20224
}Semantic roles & 50–950 ramp
primary
#268F2A
secondary
#B958B5
accent
#47DBE1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A