#7C7B1B#7C7B1B
#7C7B1B is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.6% C 0.113 H 108.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7B1B |
|---|---|
| RGB | rgb(124, 123, 27) |
| HSL | hsl(59, 64%, 30%) |
| HSV | hsv(59, 78%, 49%) |
| CMYK | cmyk(0%, 0.8%, 78.2%, 51.4%) |
| CIE-LAB | lab(50.13, -11.34, 48.71) |
| CIE-LCH | lch(50.13, 50.01, 103.10°) |
| OKLab | oklab(56.62% -0.0365 0.1066) |
| OKLCH | oklch(56.62% 0.113 108.9) |
| XYZ | xyz(15.5936, 18.5306, 3.7921) |
| Luminance | 0.1853 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.93
Olive (survey)
#6E750E
ΔE00 3.75
Shit Green
#758000
ΔE00 3.78
Poop Green
#6F7C00
ΔE00 4.06
Murky Green
#6C7A0E
ΔE00 4.45
Ugly Brown
#7D7103
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7B1B #1B1C7C
analogous
#7C4A1B #7C7B1B #4D7C1B
triadic
#7C7B1B #1B7C7B #7B1B7C
tetradic
#7C7B1B #1B7C4A #1B1C7C #7C1B4D
square
#7C7B1B #1B7C4A #1B1C7C #7C1B4D
split-complementary
#7C7B1B #1B4D7C #4A1B7C
monochromatic
#191905 #4A4910 #7C7B1B #AEAD26 #D5D33D
Accessibility & contrast
On white
4.46
#7C7B1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#7C7B1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7B1B
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7B1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7B1B | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#857369
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7c7b1b; /* rgb */ color: rgb(124, 123, 27); /* oklch */ color: oklch(56.6% 0.113 108.9);
Tailwind
colors: {
custom: {
50: '#a5a060',
500: '#7c7b1b',
950: '#000000',
},
}SCSS
$custom: #7c7b1b; $custom-light: #a5a060; $custom-dark: #000000;
JSON
{
"hex": "#7c7b1b",
"rgb": {
"r": 124,
"g": 123,
"b": 27
},
"hsl": {
"h": 59.381,
"s": 64.238,
"l": 29.608
},
"oklch": {
"l": 0.56623,
"c": 0.11271,
"h": 108.9
},
"luminance": 0.1853
}Semantic roles & 50–950 ramp
primary
#7C7B1B
secondary
#4344B0
accent
#42E741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79