#787923#787923
#787923 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.8% C 0.106 H 110.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #787923 |
|---|---|
| RGB | rgb(120, 121, 35) |
| HSL | hsl(61, 55%, 31%) |
| HSV | hsv(61, 71%, 47%) |
| CMYK | cmyk(0.8%, 0%, 71.1%, 52.5%) |
| CIE-LAB | lab(49.24, -11.69, 44.70) |
| CIE-LCH | lch(49.24, 46.20, 104.65°) |
| OKLab | oklab(55.84% -0.0364 0.0998) |
| OKLCH | oklch(55.84% 0.106 110) |
| XYZ | xyz(14.8870, 17.7896, 4.2393) |
| Luminance | 0.1779 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.01
Murky Green
#6C7A0E
ΔE00 3.90
Olive Drab
#6F7632
ΔE00 4.04
Poop Green
#6F7C00
ΔE00 4.09
Shit Green
#758000
ΔE00 4.42
Olive
#808000
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787923 #242379
analogous
#794F23 #787923 #4D7923
triadic
#787923 #237879 #792378
tetradic
#787923 #23794F #242379 #79234D
square
#787923 #23794F #242379 #79234D
split-complementary
#787923 #234D79 #4F2379
monochromatic
#1A1A08 #494A15 #787923 #A7A831 #CACB4B
Accessibility & contrast
On white
4.61
#787923 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#787923 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #787923
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787923 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##787923 | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837415
Deuteranopia (green-blind)
#847629
Tritanopia (blue-blind)
#817168
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #787923; /* rgb */ color: rgb(120, 121, 35); /* oklch */ color: oklch(55.8% 0.106 110.0);
Tailwind
colors: {
custom: {
50: '#a29f64',
500: '#787923',
950: '#000000',
},
}SCSS
$custom: #787923; $custom-light: #a29f64; $custom-dark: #000000;
JSON
{
"hex": "#787923",
"rgb": {
"r": 120,
"g": 121,
"b": 35
},
"hsl": {
"h": 60.698,
"s": 55.128,
"l": 30.588
},
"oklch": {
"l": 0.55839,
"c": 0.10626,
"h": 110
},
"luminance": 0.17789
}Semantic roles & 50–950 ramp
primary
#787923
secondary
#4D4CAC
accent
#49DE4B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A