#7B7F1F#7B7F1F
#7B7F1F 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 | #7B7F1F |
|---|---|
| RGB | rgb(123, 127, 31) |
| HSL | hsl(63, 61%, 31%) |
| HSV | hsv(63, 76%, 50%) |
| CMYK | cmyk(3.1%, 0%, 75.6%, 50.2%) |
| CIE-LAB | lab(51.25, -13.78, 48.30) |
| CIE-LCH | lch(51.25, 50.23, 105.92°) |
| OKLab | oklab(57.51% -0.0429 0.1066) |
| OKLCH | oklch(57.51% 0.115 111.9) |
| XYZ | xyz(16.0056, 19.4890, 4.2147) |
| Luminance | 0.1949 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.66
Olive
#808000
ΔE00 2.96
Poop Green
#6F7C00
ΔE00 3.36
Murky Green
#6C7A0E
ΔE00 3.84
Swamp Green
#748500
ΔE00 4.02
Olive (survey)
#6E750E
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7F1F #231F7F
analogous
#7F531F #7B7F1F #4B7F1F
triadic
#7B7F1F #1F7B7F #7F1F7B
tetradic
#7B7F1F #1F7F53 #231F7F #7F1F4B
square
#7B7F1F #1F7F53 #231F7F #7F1F4B
split-complementary
#7B7F1F #1F4B7F #531F7F
monochromatic
#1C1D07 #4B4E13 #7B7F1F #ABB02B #CCD246
Accessibility & contrast
On white
4.29
#7B7F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#7B7F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7F1F
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7F1F | 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)
#89790B
Deuteranopia (green-blind)
#8A7B27
Tritanopia (blue-blind)
#84776D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7b7f1f; /* rgb */ color: rgb(123, 127, 31); /* oklch */ color: oklch(57.5% 0.115 111.9);
Tailwind
colors: {
custom: {
50: '#a4a362',
500: '#7b7f1f',
950: '#000000',
},
}SCSS
$custom: #7b7f1f; $custom-light: #a4a362; $custom-dark: #000000;
JSON
{
"hex": "#7b7f1f",
"rgb": {
"r": 123,
"g": 127,
"b": 31
},
"hsl": {
"h": 62.5,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.57505,
"c": 0.11487,
"h": 111.9
},
"luminance": 0.19489
}Semantic roles & 50–950 ramp
primary
#7B7F1F
secondary
#4C48B2
accent
#44E44B
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F05
muted
#7F7F7A