#74811A#74811A
#74811A is a mid, vivid yellow. Relative luminance 0.195; OKLCH L 57.4% C 0.122 H 116.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #74811A |
|---|---|
| RGB | rgb(116, 129, 26) |
| HSL | hsl(68, 66%, 30%) |
| HSV | hsv(68, 80%, 51%) |
| CMYK | cmyk(10.1%, 0%, 79.8%, 49.4%) |
| CIE-LAB | lab(51.25, -18.25, 49.83) |
| CIE-LCH | lch(51.25, 53.06, 110.12°) |
| OKLab | oklab(57.35% -0.0553 0.1091) |
| OKLCH | oklch(57.35% 0.122 116.9) |
| XYZ | xyz(15.2396, 19.4883, 3.9359) |
| Luminance | 0.1949 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.98
Swamp Green
#748500
ΔE00 2.36
Poop Green
#6F7C00
ΔE00 2.41
Murky Green
#6C7A0E
ΔE00 2.83
Olive Green
#677A04
ΔE00 3.53
Olive
#808000
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#74811A #271A81
analogous
#815A1A #74811A #40811A
triadic
#74811A #1A7481 #811A74
tetradic
#74811A #1A815A #271A81 #811A40
square
#74811A #1A815A #271A81 #811A40
split-complementary
#74811A #1A4081 #5A1A81
monochromatic
#181B05 #464E10 #74811A #A2B424 #C4D83D
Accessibility & contrast
On white
4.29
#74811A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#74811A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #74811A
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##74811A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##74811A | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#7C796E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #74811a; /* rgb */ color: rgb(116, 129, 26); /* oklch */ color: oklch(57.4% 0.122 116.9);
Tailwind
colors: {
custom: {
50: '#9fa560',
500: '#74811a',
950: '#000000',
},
}SCSS
$custom: #74811a; $custom-light: #9fa560; $custom-dark: #000000;
JSON
{
"hex": "#74811a",
"rgb": {
"r": 116,
"g": 129,
"b": 26
},
"hsl": {
"h": 67.573,
"s": 66.452,
"l": 30.392
},
"oklch": {
"l": 0.57353,
"c": 0.12235,
"h": 116.9
},
"luminance": 0.19488
}Semantic roles & 50–950 ramp
primary
#74811A
secondary
#5042B5
accent
#3EE954
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79