#7F7B18#7F7B18
#7F7B18 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.9% C 0.114 H 107.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7B18 |
|---|---|
| RGB | rgb(127, 123, 24) |
| HSL | hsl(58, 68%, 30%) |
| HSV | hsv(58, 81%, 50%) |
| CMYK | cmyk(0%, 3.1%, 81.1%, 50.2%) |
| CIE-LAB | lab(50.39, -10.07, 50.04) |
| CIE-LCH | lch(50.39, 51.04, 101.38°) |
| OKLab | oklab(56.89% -0.0334 0.1087) |
| OKLCH | oklch(56.89% 0.114 107.1) |
| XYZ | xyz(16.0009, 18.7445, 3.6392) |
| Luminance | 0.1874 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.67
Ugly Brown
#7D7103
ΔE00 4.28
Shit Green
#758000
ΔE00 4.40
Olive (survey)
#6E750E
ΔE00 4.55
Poop Green
#6F7C00
ΔE00 4.87
Murky Green
#6C7A0E
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7B18 #181C7F
analogous
#7F4818 #7F7B18 #507F18
triadic
#7F7B18 #187F7B #7B187F
tetradic
#7F7B18 #187F48 #181C7F #7F1850
square
#7F7B18 #187F48 #181C7F #7F1850
split-complementary
#7F7B18 #18507F #48187F
monochromatic
#1A1905 #4C490E #7F7B18 #B2AD22 #D9D338
Accessibility & contrast
On white
4.42
#7F7B18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#7F7B18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7B18
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7B18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7B18 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#887A21
Tritanopia (blue-blind)
#897269
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7f7b18; /* rgb */ color: rgb(127, 123, 24); /* oklch */ color: oklch(56.9% 0.114 107.1);
Tailwind
colors: {
custom: {
50: '#a8a05f',
500: '#7f7b18',
950: '#000000',
},
}SCSS
$custom: #7f7b18; $custom-light: #a8a05f; $custom-dark: #000000;
JSON
{
"hex": "#7f7b18",
"rgb": {
"r": 127,
"g": 123,
"b": 24
},
"hsl": {
"h": 57.67,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.56885,
"c": 0.11374,
"h": 107.1
},
"luminance": 0.18744
}Semantic roles & 50–950 ramp
primary
#7F7B18
secondary
#3F44B3
accent
#44EB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79