#787B1B#787B1B
#787B1B is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.114 H 111.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #787B1B |
|---|---|
| RGB | rgb(120, 123, 27) |
| HSL | hsl(62, 64%, 29%) |
| HSV | hsv(62, 78%, 48%) |
| CMYK | cmyk(2.4%, 0%, 78%, 51.8%) |
| CIE-LAB | lab(49.78, -13.19, 48.26) |
| CIE-LCH | lch(49.78, 50.03, 105.28°) |
| OKLab | oklab(56.26% -0.0414 0.1058) |
| OKLCH | oklch(56.26% 0.114 111.4) |
| XYZ | xyz(15.0270, 18.2385, 3.7655) |
| Luminance | 0.1824 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 2.89
Poop Green
#6F7C00
ΔE00 3.03
Shit Green
#758000
ΔE00 3.10
Murky Green
#6C7A0E
ΔE00 3.25
Olive
#808000
ΔE00 3.44
Olive Green
#677A04
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787B1B #1E1B7B
analogous
#7B4E1B #787B1B #487B1B
triadic
#787B1B #1B787B #7B1B78
tetradic
#787B1B #1B7B4E #1E1B7B #7B1B48
square
#787B1B #1B7B4E #1E1B7B #7B1B48
split-complementary
#787B1B #1B487B #4E1B7B
monochromatic
#181906 #474910 #787B1B #A9AD26 #CFD43C
Accessibility & contrast
On white
4.52
#787B1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#787B1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787B1B
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787B1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787B1B | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857504
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#817369
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #787b1b; /* rgb */ color: rgb(120, 123, 27); /* oklch */ color: oklch(56.3% 0.114 111.4);
Tailwind
colors: {
custom: {
50: '#a2a160',
500: '#787b1b',
950: '#000000',
},
}SCSS
$custom: #787b1b; $custom-light: #a2a160; $custom-dark: #000000;
JSON
{
"hex": "#787b1b",
"rgb": {
"r": 120,
"g": 123,
"b": 27
},
"hsl": {
"h": 61.875,
"s": 64,
"l": 29.412
},
"oklch": {
"l": 0.56258,
"c": 0.11365,
"h": 111.4
},
"luminance": 0.18238
}Semantic roles & 50–950 ramp
primary
#787B1B
secondary
#4643AF
accent
#41E746
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79