#74802F#74802F
#74802F is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.3% C 0.106 H 117.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #74802F |
|---|---|
| RGB | rgb(116, 128, 47) |
| HSL | hsl(69, 46%, 34%) |
| HSV | hsv(69, 63%, 50%) |
| CMYK | cmyk(9.4%, 0%, 63.3%, 49.8%) |
| CIE-LAB | lab(51.10, -16.44, 41.26) |
| CIE-LCH | lch(51.10, 44.42, 111.73°) |
| OKLab | oklab(57.28% -0.0482 0.0946) |
| OKLCH | oklch(57.28% 0.106 117) |
| XYZ | xyz(15.4350, 19.3568, 5.6119) |
| Luminance | 0.1936 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 3.06
Dirty Green
#667E2C
ΔE00 3.55
Murky Green
#6C7A0E
ΔE00 4.04
Olive Drab
#6F7632
ΔE00 4.11
Swamp
#698339
ΔE00 4.26
Poop Green
#6F7C00
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#74802F #3B2F80
analogous
#80642F #74802F #4C802F
triadic
#74802F #2F7480 #802F74
tetradic
#74802F #2F8064 #3B2F80 #802F4C
square
#74802F #2F8064 #3B2F80 #802F4C
split-complementary
#74802F #2F4C80 #642F80
monochromatic
#23260E #4B531F #74802F #9DAD3F #B7C663
Accessibility & contrast
On white
4.31
#74802F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#74802F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #74802F
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##74802F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##74802F | 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)
#887925
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#7B796F
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #74802f; /* rgb */ color: rgb(116, 128, 47); /* oklch */ color: oklch(57.3% 0.106 117.0);
Tailwind
colors: {
custom: {
50: '#9ea46b',
500: '#74802f',
950: '#000000',
},
}SCSS
$custom: #74802f; $custom-light: #9ea46b; $custom-dark: #000000;
JSON
{
"hex": "#74802f",
"rgb": {
"r": 116,
"g": 128,
"b": 47
},
"hsl": {
"h": 68.889,
"s": 46.286,
"l": 34.314
},
"oklch": {
"l": 0.5728,
"c": 0.10619,
"h": 117
},
"luminance": 0.19357
}Semantic roles & 50–950 ramp
primary
#74802F
secondary
#6A5EAD
accent
#52D665
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F07
muted
#7E7F7A