#7F7512#7F7512
#7F7512 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.5% C 0.111 H 103.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7512 |
|---|---|
| RGB | rgb(127, 117, 18) |
| HSL | hsl(54, 75%, 28%) |
| HSV | hsv(54, 86%, 50%) |
| CMYK | cmyk(0%, 7.9%, 85.8%, 50.2%) |
| CIE-LAB | lab(48.61, -6.95, 50.29) |
| CIE-LCH | lch(48.61, 50.77, 97.87°) |
| OKLab | oklab(55.46% -0.0252 0.1081) |
| OKLCH | oklch(55.46% 0.111 103.1) |
| XYZ | xyz(15.2236, 17.2790, 3.1054) |
| Luminance | 0.1728 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.71
Brown Green
#706C11
ΔE00 4.46
Browny Green
#6F6C0A
ΔE00 4.57
Hazel
#8E7618
ΔE00 4.85
Olive
#808000
ΔE00 4.90
Olive (survey)
#6E750E
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7512 #121C7F
analogous
#7F3E12 #7F7512 #527F12
triadic
#7F7512 #127F75 #75127F
tetradic
#7F7512 #127F3E #121C7F #7F1252
square
#7F7512 #127F3E #121C7F #7F1252
split-complementary
#7F7512 #12527F #3E127F
monochromatic
#1B1904 #49440A #7F7512 #B5A61A #E1D02B
Accessibility & contrast
On white
4.71
#7F7512 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#7F7512 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7512
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7512 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7512 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#84751B
Tritanopia (blue-blind)
#896C63
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7f7512; /* rgb */ color: rgb(127, 117, 18); /* oklch */ color: oklch(55.5% 0.111 103.1);
Tailwind
colors: {
custom: {
50: '#a89c5c',
500: '#7f7512',
950: '#000000',
},
}SCSS
$custom: #7f7512; $custom-light: #a89c5c; $custom-dark: #000000;
JSON
{
"hex": "#7f7512",
"rgb": {
"r": 127,
"g": 117,
"b": 18
},
"hsl": {
"h": 54.495,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.55461,
"c": 0.11096,
"h": 103.1
},
"luminance": 0.17278
}Semantic roles & 50–950 ramp
primary
#7F7512
secondary
#3844B5
accent
#47F236
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79