#268A1F#268A1F
#268A1F is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.168 H 142.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #268A1F |
|---|---|
| RGB | rgb(38, 138, 31) |
| HSL | hsl(116, 63%, 33%) |
| HSV | hsv(116, 78%, 54%) |
| CMYK | cmyk(72.5%, 0%, 77.5%, 45.9%) |
| CIE-LAB | lab(50.32, -48.76, 45.87) |
| CIE-LCH | lch(50.32, 66.95, 136.75°) |
| OKLab | oklab(55.57% -0.1327 0.1032) |
| OKLCH | oklch(55.57% 0.168 142.1) |
| XYZ | xyz(10.1345, 18.6868, 4.3689) |
| Luminance | 0.1869 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.57
Emerald Green
#028F1E
ΔE00 2.11
Irish Green
#019529
ΔE00 4.02
True Green
#089404
ΔE00 4.03
Green
#008000
ΔE00 4.24
Tree Green
#2A7E19
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#268A1F #831F8A
analogous
#5B8A1F #268A1F #1F8A4D
triadic
#268A1F #1F268A #8A1F26
tetradic
#268A1F #1F5B8A #831F8A #8A4D1F
square
#268A1F #1F5B8A #831F8A #8A4D1F
split-complementary
#268A1F #4D1F8A #8A1F5B
monochromatic
#0A2609 #185814 #268A1F #34BC2A #56D74C
Accessibility & contrast
On white
4.43
#268A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#268A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #268A1F
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##268A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##268A1F | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D07
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#088676
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #268a1f; /* rgb */ color: rgb(38, 138, 31); /* oklch */ color: oklch(55.6% 0.168 142.1);
Tailwind
colors: {
custom: {
50: '#71ad63',
500: '#268a1f',
950: '#000000',
},
}SCSS
$custom: #268a1f; $custom-light: #71ad63; $custom-dark: #000000;
JSON
{
"hex": "#268a1f",
"rgb": {
"r": 38,
"g": 138,
"b": 31
},
"hsl": {
"h": 116.075,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.55571,
"c": 0.16812,
"h": 142.1
},
"luminance": 0.18688
}Semantic roles & 50–950 ramp
primary
#268A1F
secondary
#B24BBA
accent
#41E6DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A