#7F7A12#7F7A12
#7F7A12 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.6% C 0.116 H 106.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7A12 |
|---|---|
| RGB | rgb(127, 122, 18) |
| HSL | hsl(57, 75%, 28%) |
| HSV | hsv(57, 86%, 50%) |
| CMYK | cmyk(0%, 3.9%, 85.8%, 50.2%) |
| CIE-LAB | lab(50.07, -9.73, 51.52) |
| CIE-LCH | lch(50.07, 52.43, 100.69°) |
| OKLab | oklab(56.62% -0.0329 0.1108) |
| OKLCH | oklch(56.62% 0.116 106.6) |
| XYZ | xyz(15.8218, 18.4754, 3.3048) |
| Luminance | 0.1847 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.75
Ugly Brown
#7D7103
ΔE00 3.76
Olive (survey)
#6E750E
ΔE00 4.64
Shit Green
#758000
ΔE00 4.66
Poop Green
#6F7C00
ΔE00 5.09
Browny Green
#6F6C0A
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7A12 #12177F
analogous
#7F4312 #7F7A12 #4D7F12
triadic
#7F7A12 #127F7A #7A127F
tetradic
#7F7A12 #127F43 #12177F #7F124D
square
#7F7A12 #127F43 #12177F #7F124D
split-complementary
#7F7A12 #124D7F #43127F
monochromatic
#1B1A04 #49470A #7F7A12 #B5AD1A #E1D92B
Accessibility & contrast
On white
4.47
#7F7A12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#7F7A12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7A12
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7A12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7A12 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#87791C
Tritanopia (blue-blind)
#897168
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7f7a12; /* rgb */ color: rgb(127, 122, 18); /* oklch */ color: oklch(56.6% 0.116 106.6);
Tailwind
colors: {
custom: {
50: '#a8a05c',
500: '#7f7a12',
950: '#000000',
},
}SCSS
$custom: #7f7a12; $custom-light: #a8a05c; $custom-dark: #000000;
JSON
{
"hex": "#7f7a12",
"rgb": {
"r": 127,
"g": 122,
"b": 18
},
"hsl": {
"h": 57.248,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.56622,
"c": 0.11555,
"h": 106.6
},
"luminance": 0.18475
}Semantic roles & 50–950 ramp
primary
#7F7A12
secondary
#383EB5
accent
#3FF236
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79