#7B7F1E#7B7F1E
#7B7F1E is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.5% C 0.115 H 111.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7F1E |
|---|---|
| RGB | rgb(123, 127, 30) |
| HSL | hsl(62, 62%, 31%) |
| HSV | hsv(62, 76%, 50%) |
| CMYK | cmyk(3.1%, 0%, 76.4%, 50.2%) |
| CIE-LAB | lab(51.25, -13.83, 48.66) |
| CIE-LCH | lch(51.25, 50.59, 105.87°) |
| OKLab | oklab(57.5% -0.0431 0.1071) |
| OKLCH | oklch(57.5% 0.115 111.9) |
| XYZ | xyz(15.9926, 19.4838, 4.1463) |
| Luminance | 0.1948 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.58
Olive
#808000
ΔE00 2.86
Poop Green
#6F7C00
ΔE00 3.31
Murky Green
#6C7A0E
ΔE00 3.83
Swamp Green
#748500
ΔE00 3.96
Olive (survey)
#6E750E
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7F1E #221E7F
analogous
#7F521E #7B7F1E #4A7F1E
triadic
#7B7F1E #1E7B7F #7F1E7B
tetradic
#7B7F1E #1E7F52 #221E7F #7F1E4A
square
#7B7F1E #1E7F52 #221E7F #7F1E4A
split-complementary
#7B7F1E #1E4A7F #521E7F
monochromatic
#1B1C07 #4B4D12 #7B7F1E #ABB12A #CDD344
Accessibility & contrast
On white
4.29
#7B7F1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#7B7F1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7F1E
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7F1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7F1E | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897909
Deuteranopia (green-blind)
#8A7B26
Tritanopia (blue-blind)
#84776D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7b7f1e; /* rgb */ color: rgb(123, 127, 30); /* oklch */ color: oklch(57.5% 0.115 111.9);
Tailwind
colors: {
custom: {
50: '#a4a362',
500: '#7b7f1e',
950: '#000000',
},
}SCSS
$custom: #7b7f1e; $custom-light: #a4a362; $custom-dark: #000000;
JSON
{
"hex": "#7b7f1e",
"rgb": {
"r": 123,
"g": 127,
"b": 30
},
"hsl": {
"h": 62.474,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.57498,
"c": 0.11549,
"h": 111.9
},
"luminance": 0.19483
}Semantic roles & 50–950 ramp
primary
#7B7F1E
secondary
#4B47B2
accent
#43E54A
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F05
muted
#7F7F7A