#268C2A#268C2A
#268C2A is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.163 H 143.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #268C2A |
|---|---|
| RGB | rgb(38, 140, 42) |
| HSL | hsl(122, 57%, 35%) |
| HSV | hsv(122, 73%, 55%) |
| CMYK | cmyk(72.9%, 0%, 70%, 45.1%) |
| CIE-LAB | lab(51.08, -48.49, 42.33) |
| CIE-LCH | lch(51.08, 64.37, 138.88°) |
| OKLab | oklab(56.23% -0.1314 0.0972) |
| OKLCH | oklch(56.23% 0.163 143.5) |
| XYZ | xyz(10.5947, 19.3342, 5.3636) |
| Luminance | 0.1933 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.98
Emerald Green
#028F1E
ΔE00 1.97
Kelley Green
#009337
ΔE00 3.23
Irish Green
#019529
ΔE00 3.24
True Green
#089404
ΔE00 4.30
Tree Green
#2A7E19
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#268C2A #8C2688
analogous
#558C26 #268C2A #268C5D
triadic
#268C2A #2A268C #8C2A26
tetradic
#268C2A #26558C #8C2688 #8C5D26
square
#268C2A #26558C #8C2688 #8C5D26
split-complementary
#268C2A #5D268C #8C2655
monochromatic
#0C2C0D #195C1C #268C2A #33BC38 #5AD25F
Accessibility & contrast
On white
4.31
#268C2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#268C2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #268C2A
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##268C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##268C2A | 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)
#8F7F1C
Deuteranopia (green-blind)
#837733
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #268c2a; /* rgb */ color: rgb(38, 140, 42); /* oklch */ color: oklch(56.2% 0.163 143.5);
Tailwind
colors: {
custom: {
50: '#71af69',
500: '#268c2a',
950: '#000000',
},
}SCSS
$custom: #268c2a; $custom-light: #71af69; $custom-dark: #000000;
JSON
{
"hex": "#268c2a",
"rgb": {
"r": 38,
"g": 140,
"b": 42
},
"hsl": {
"h": 122.353,
"s": 57.303,
"l": 34.902
},
"oklch": {
"l": 0.56225,
"c": 0.16349,
"h": 143.5
},
"luminance": 0.19335
}Semantic roles & 50–950 ramp
primary
#268C2A
secondary
#B757B3
accent
#47DBE1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A