#7F7B13#7F7B13
#7F7B13 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.9% C 0.116 H 107.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7B13 |
|---|---|
| RGB | rgb(127, 123, 19) |
| HSL | hsl(58, 74%, 29%) |
| HSV | hsv(58, 85%, 50%) |
| CMYK | cmyk(0%, 3.1%, 85%, 50.2%) |
| CIE-LAB | lab(50.36, -10.24, 51.50) |
| CIE-LCH | lch(50.36, 52.51, 101.25°) |
| OKLab | oklab(56.86% -0.0343 0.1109) |
| OKLCH | oklch(56.86% 0.116 107.2) |
| XYZ | xyz(15.9536, 18.7255, 3.3900) |
| Luminance | 0.1872 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.40
Ugly Brown
#7D7103
ΔE00 4.20
Shit Green
#758000
ΔE00 4.30
Olive (survey)
#6E750E
ΔE00 4.61
Poop Green
#6F7C00
ΔE00 4.83
Murky Green
#6C7A0E
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7B13 #13177F
analogous
#7F4513 #7F7B13 #4D7F13
triadic
#7F7B13 #137F7B #7B137F
tetradic
#7F7B13 #137F45 #13177F #7F134D
square
#7F7B13 #137F45 #13177F #7F134D
split-complementary
#7F7B13 #134D7F #45137F
monochromatic
#1B1A04 #4A470B #7F7B13 #B4AF1B #E0D92D
Accessibility & contrast
On white
4.43
#7F7B13 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#7F7B13 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7B13
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7B13 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7B13 | 1.00 | 4.43 | 4.75 | 4.75 |
| #FFFFFF | 4.43 | 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)
#887A1D
Tritanopia (blue-blind)
#897269
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7f7b13; /* rgb */ color: rgb(127, 123, 19); /* oklch */ color: oklch(56.9% 0.116 107.2);
Tailwind
colors: {
custom: {
50: '#a8a05d',
500: '#7f7b13',
950: '#000000',
},
}SCSS
$custom: #7f7b13; $custom-light: #a8a05d; $custom-dark: #000000;
JSON
{
"hex": "#7f7b13",
"rgb": {
"r": 127,
"g": 123,
"b": 19
},
"hsl": {
"h": 57.778,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.5686,
"c": 0.11609,
"h": 107.2
},
"luminance": 0.18725
}Semantic roles & 50–950 ramp
primary
#7F7B13
secondary
#393EB4
accent
#3EF137
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79