#7C7C1B#7C7C1B
#7C7C1B is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 56.9% C 0.114 H 109.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7C1B |
|---|---|
| RGB | rgb(124, 124, 27) |
| HSL | hsl(60, 64%, 30%) |
| HSV | hsv(60, 78%, 49%) |
| CMYK | cmyk(0%, 0%, 78.2%, 51.4%) |
| CIE-LAB | lab(50.43, -11.88, 48.98) |
| CIE-LCH | lch(50.43, 50.40, 103.64°) |
| OKLab | oklab(56.86% -0.038 0.1072) |
| OKLCH | oklch(56.86% 0.114 109.5) |
| XYZ | xyz(15.7182, 18.7800, 3.8336) |
| Luminance | 0.1878 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.70
Shit Green
#758000
ΔE00 3.43
Poop Green
#6F7C00
ΔE00 3.83
Olive (survey)
#6E750E
ΔE00 3.84
Murky Green
#6C7A0E
ΔE00 4.29
Swamp Green
#748500
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7C1B #1B1B7C
analogous
#7C4C1B #7C7C1B #4C7C1B
triadic
#7C7C1B #1B7C7C #7C1B7C
tetradic
#7C7C1B #1B7C4C #1B1B7C #7C1B4C
square
#7C7C1B #1B7C4C #1B1B7C #7C1B4C
split-complementary
#7C7C1B #1B4C7C #4C1B7C
monochromatic
#191905 #4A4A10 #7C7C1B #AEAE26 #D5D53D
Accessibility & contrast
On white
4.42
#7C7C1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#7C7C1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7C1B
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7C1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7C1B | 1.00 | 4.42 | 4.76 | 4.76 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877603
Deuteranopia (green-blind)
#887923
Tritanopia (blue-blind)
#85746A
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7c7c1b; /* rgb */ color: rgb(124, 124, 27); /* oklch */ color: oklch(56.9% 0.114 109.5);
Tailwind
colors: {
custom: {
50: '#a5a160',
500: '#7c7c1b',
950: '#000000',
},
}SCSS
$custom: #7c7c1b; $custom-light: #a5a160; $custom-dark: #000000;
JSON
{
"hex": "#7c7c1b",
"rgb": {
"r": 124,
"g": 124,
"b": 27
},
"hsl": {
"h": 60,
"s": 64.238,
"l": 29.608
},
"oklch": {
"l": 0.56859,
"c": 0.11375,
"h": 109.5
},
"luminance": 0.1878
}Semantic roles & 50–950 ramp
primary
#7C7C1B
secondary
#4343B0
accent
#41E741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79