#7F7F12#7F7F12
#7F7F12 is a mid, vivid yellow. Relative luminance 0.197; OKLCH L 57.8% C 0.120 H 109.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7F12 |
|---|---|
| RGB | rgb(127, 127, 18) |
| HSL | hsl(60, 75%, 28%) |
| HSV | hsv(60, 86%, 50%) |
| CMYK | cmyk(0%, 0%, 85.8%, 50.2%) |
| CIE-LAB | lab(51.54, -12.45, 52.76) |
| CIE-LCH | lch(51.54, 54.21, 103.28°) |
| OKLab | oklab(57.79% -0.0405 0.1135) |
| OKLCH | oklch(57.79% 0.12 109.6) |
| XYZ | xyz(16.4516, 19.7350, 3.5148) |
| Luminance | 0.1973 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.19
Shit Green
#758000
ΔE00 3.04
Poop Green
#6F7C00
ΔE00 4.13
Swamp Green
#748500
ΔE00 4.58
Olive (survey)
#6E750E
ΔE00 4.98
Murky Green
#6C7A0E
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7F12 #12127F
analogous
#7F4812 #7F7F12 #487F12
triadic
#7F7F12 #127F7F #7F127F
tetradic
#7F7F12 #127F48 #12127F #7F1248
square
#7F7F12 #127F48 #12127F #7F1248
split-complementary
#7F7F12 #12487F #48127F
monochromatic
#1B1B04 #49490A #7F7F12 #B5B51A #E1E12B
Accessibility & contrast
On white
4.25
#7F7F12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#7F7F12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7F12
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7F12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7F12 | 1.00 | 4.25 | 4.95 | 4.95 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8B7C1D
Tritanopia (blue-blind)
#89766C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7f7f12; /* rgb */ color: rgb(127, 127, 18); /* oklch */ color: oklch(57.8% 0.120 109.6);
Tailwind
colors: {
custom: {
50: '#a8a35d',
500: '#7f7f12',
950: '#000000',
},
}SCSS
$custom: #7f7f12; $custom-light: #a8a35d; $custom-dark: #000000;
JSON
{
"hex": "#7f7f12",
"rgb": {
"r": 127,
"g": 127,
"b": 18
},
"hsl": {
"h": 60,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.57795,
"c": 0.12046,
"h": 109.6
},
"luminance": 0.19734
}Semantic roles & 50–950 ramp
primary
#7F7F12
secondary
#3838B5
accent
#36F236
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79