#7F7918#7F7918
#7F7918 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.4% C 0.112 H 105.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7918 |
|---|---|
| RGB | rgb(127, 121, 24) |
| HSL | hsl(57, 68%, 30%) |
| HSV | hsv(57, 81%, 50%) |
| CMYK | cmyk(0%, 4.7%, 81.1%, 50.2%) |
| CIE-LAB | lab(49.80, -8.97, 49.51) |
| CIE-LCH | lch(49.80, 50.32, 100.26°) |
| OKLab | oklab(56.42% -0.0303 0.1076) |
| OKLCH | oklch(56.42% 0.112 105.7) |
| XYZ | xyz(15.7553, 18.2533, 3.5573) |
| Luminance | 0.1825 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.43
Ugly Brown
#7D7103
ΔE00 3.46
Olive (survey)
#6E750E
ΔE00 4.64
Shit Green
#758000
ΔE00 5.16
Brown Green
#706C11
ΔE00 5.25
Browny Green
#6F6C0A
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7918 #181E7F
analogous
#7F4618 #7F7918 #527F18
triadic
#7F7918 #187F79 #79187F
tetradic
#7F7918 #187F46 #181E7F #7F1852
square
#7F7918 #187F46 #181E7F #7F1852
split-complementary
#7F7918 #18527F #46187F
monochromatic
#1A1905 #4C480E #7F7918 #B2AA22 #D9D038
Accessibility & contrast
On white
4.52
#7F7918 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#7F7918 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7918
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7918 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7918 | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#877820
Tritanopia (blue-blind)
#897067
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7f7918; /* rgb */ color: rgb(127, 121, 24); /* oklch */ color: oklch(56.4% 0.112 105.7);
Tailwind
colors: {
custom: {
50: '#a89f5f',
500: '#7f7918',
950: '#000000',
},
}SCSS
$custom: #7f7918; $custom-light: #a89f5f; $custom-dark: #000000;
JSON
{
"hex": "#7f7918",
"rgb": {
"r": 127,
"g": 121,
"b": 24
},
"hsl": {
"h": 56.505,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.56419,
"c": 0.1118,
"h": 105.7
},
"luminance": 0.18253
}Semantic roles & 50–950 ramp
primary
#7F7918
secondary
#3F46B3
accent
#47EB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79