#7C7E1B#7C7E1B
#7C7E1B is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.3% C 0.116 H 110.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7E1B |
|---|---|
| RGB | rgb(124, 126, 27) |
| HSL | hsl(61, 65%, 30%) |
| HSV | hsv(61, 79%, 49%) |
| CMYK | cmyk(1.6%, 0%, 78.6%, 50.6%) |
| CIE-LAB | lab(51.02, -12.97, 49.52) |
| CIE-LCH | lch(51.02, 51.19, 104.67°) |
| OKLab | oklab(57.33% -0.0411 0.1084) |
| OKLCH | oklch(57.33% 0.116 110.7) |
| XYZ | xyz(15.9714, 19.2864, 3.9180) |
| Luminance | 0.1929 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.42
Shit Green
#758000
ΔE00 2.81
Poop Green
#6F7C00
ΔE00 3.51
Murky Green
#6C7A0E
ΔE00 4.10
Olive (survey)
#6E750E
ΔE00 4.14
Swamp Green
#748500
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7E1B #1D1B7E
analogous
#7E4E1B #7C7E1B #4B7E1B
triadic
#7C7E1B #1B7C7E #7E1B7C
tetradic
#7C7E1B #1B7E4E #1D1B7E #7E1B4B
square
#7C7E1B #1B7E4E #1D1B7E #7E1B4B
split-complementary
#7C7E1B #1B4B7E #4E1B7E
monochromatic
#191905 #4A4C10 #7C7E1B #AEB026 #D3D63E
Accessibility & contrast
On white
4.32
#7C7E1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#7C7E1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7E1B
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7E1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7E1B | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887802
Deuteranopia (green-blind)
#897B23
Tritanopia (blue-blind)
#85766C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7c7e1b; /* rgb */ color: rgb(124, 126, 27); /* oklch */ color: oklch(57.3% 0.116 110.7);
Tailwind
colors: {
custom: {
50: '#a5a360',
500: '#7c7e1b',
950: '#000000',
},
}SCSS
$custom: #7c7e1b; $custom-light: #a5a360; $custom-dark: #000000;
JSON
{
"hex": "#7c7e1b",
"rgb": {
"r": 124,
"g": 126,
"b": 27
},
"hsl": {
"h": 61.212,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.57332,
"c": 0.11587,
"h": 110.7
},
"luminance": 0.19286
}Semantic roles & 50–950 ramp
primary
#7C7E1B
secondary
#4543B2
accent
#40E843
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79