#55791C#55791C
#55791C is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 53.0% C 0.126 H 128.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #55791C |
|---|---|
| RGB | rgb(85, 121, 28) |
| HSL | hsl(83, 62%, 29%) |
| HSV | hsv(83, 77%, 47%) |
| CMYK | cmyk(29.8%, 0%, 76.9%, 52.5%) |
| CIE-LAB | lab(46.56, -27.55, 43.93) |
| CIE-LCH | lch(46.56, 51.85, 122.09°) |
| OKLab | oklab(53% -0.0787 0.098) |
| OKLCH | oklch(53% 0.126 128.8) |
| XYZ | xyz(10.7933, 15.6896, 3.5581) |
| Luminance | 0.1569 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 3.83
Avocado
#568203
ΔE00 4.04
Dark Grass Green
#388004
ΔE00 5.44
Olive Green
#677A04
ΔE00 5.46
Muddy Green
#657432
ΔE00 5.49
Swamp
#698339
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#55791C #401C79
analogous
#796F1C #55791C #27791C
triadic
#55791C #1C5579 #791C55
tetradic
#55791C #1C796F #401C79 #791C27
square
#55791C #1C796F #401C79 #791C27
split-complementary
#55791C #1C2779 #6F1C79
monochromatic
#111906 #324710 #55791C #78AB28 #99D23D
Accessibility & contrast
On white
5.07
#55791C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#55791C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #55791C
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##55791C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##55791C | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7009
Deuteranopia (green-blind)
#7A6E25
Tritanopia (blue-blind)
#587367
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #55791c; /* rgb */ color: rgb(85, 121, 28); /* oklch */ color: oklch(53.0% 0.126 128.8);
Tailwind
colors: {
custom: {
50: '#88a060',
500: '#55791c',
950: '#000000',
},
}SCSS
$custom: #55791c; $custom-light: #88a060; $custom-dark: #000000;
JSON
{
"hex": "#55791c",
"rgb": {
"r": 85,
"g": 121,
"b": 28
},
"hsl": {
"h": 83.226,
"s": 62.416,
"l": 29.216
},
"oklch": {
"l": 0.53004,
"c": 0.12568,
"h": 128.8
},
"luminance": 0.1569
}Semantic roles & 50–950 ramp
primary
#55791C
secondary
#6D44AD
accent
#42E581
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79