#7B7F17#7B7F17
#7B7F17 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.5% C 0.119 H 111.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7F17 |
|---|---|
| RGB | rgb(123, 127, 23) |
| HSL | hsl(62, 69%, 29%) |
| HSV | hsv(62, 82%, 50%) |
| CMYK | cmyk(3.1%, 0%, 81.9%, 50.2%) |
| CIE-LAB | lab(51.21, -14.13, 50.95) |
| CIE-LCH | lch(51.21, 52.87, 105.50°) |
| OKLab | oklab(57.46% -0.0446 0.1107) |
| OKLCH | oklch(57.46% 0.119 111.9) |
| XYZ | xyz(15.9130, 19.4520, 3.7268) |
| Luminance | 0.1945 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.14
Olive
#808000
ΔE00 2.26
Poop Green
#6F7C00
ΔE00 3.08
Swamp Green
#748500
ΔE00 3.71
Murky Green
#6C7A0E
ΔE00 3.85
Olive (survey)
#6E750E
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7F17 #1B177F
analogous
#7F4F17 #7B7F17 #477F17
triadic
#7B7F17 #177B7F #7F177B
tetradic
#7B7F17 #177F4F #1B177F #7F1747
square
#7B7F17 #177F4F #1B177F #7F1747
split-complementary
#7B7F17 #17477F #4F177F
monochromatic
#191A05 #494B0E #7B7F17 #ADB320 #D4DB36
Accessibility & contrast
On white
4.29
#7B7F17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#7B7F17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7F17
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7F17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7F17 | 1.00 | 4.29 | 4.89 | 4.89 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#8A7B21
Tritanopia (blue-blind)
#84776C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7b7f17; /* rgb */ color: rgb(123, 127, 23); /* oklch */ color: oklch(57.5% 0.119 111.9);
Tailwind
colors: {
custom: {
50: '#a5a35f',
500: '#7b7f17',
950: '#000000',
},
}SCSS
$custom: #7b7f17; $custom-light: #a5a35f; $custom-dark: #000000;
JSON
{
"hex": "#7b7f17",
"rgb": {
"r": 123,
"g": 127,
"b": 23
},
"hsl": {
"h": 62.308,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.57457,
"c": 0.11929,
"h": 111.9
},
"luminance": 0.19452
}Semantic roles & 50–950 ramp
primary
#7B7F17
secondary
#433EB4
accent
#3CEC42
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79