#7A7F12#7A7F12
#7A7F12 is a mid, vivid yellow. Relative luminance 0.194; OKLCH L 57.3% C 0.122 H 112.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7F12 |
|---|---|
| RGB | rgb(122, 127, 18) |
| HSL | hsl(63, 75%, 28%) |
| HSV | hsv(63, 86%, 50%) |
| CMYK | cmyk(3.9%, 0%, 85.8%, 50.2%) |
| CIE-LAB | lab(51.11, -14.76, 52.23) |
| CIE-LCH | lch(51.11, 54.27, 105.79°) |
| OKLab | oklab(57.35% -0.0466 0.1125) |
| OKLCH | oklch(57.35% 0.122 112.5) |
| XYZ | xyz(15.7251, 19.3604, 3.4807) |
| Luminance | 0.1936 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.73
Olive
#808000
ΔE00 2.18
Poop Green
#6F7C00
ΔE00 2.76
Swamp Green
#748500
ΔE00 3.41
Murky Green
#6C7A0E
ΔE00 3.66
Olive (survey)
#6E750E
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7F12 #17127F
analogous
#7F4D12 #7A7F12 #437F12
triadic
#7A7F12 #127A7F #7F127A
tetradic
#7A7F12 #127F4D #17127F #7F1243
square
#7A7F12 #127F4D #17127F #7F1243
split-complementary
#7A7F12 #12437F #4D127F
monochromatic
#1A1B04 #47490A #7A7F12 #ADB51A #D9E12B
Accessibility & contrast
On white
4.31
#7A7F12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#7A7F12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7F12
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7F12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7F12 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#8A7B1E
Tritanopia (blue-blind)
#83776C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7a7f12; /* rgb */ color: rgb(122, 127, 18); /* oklch */ color: oklch(57.3% 0.122 112.5);
Tailwind
colors: {
custom: {
50: '#a4a35d',
500: '#7a7f12',
950: '#000000',
},
}SCSS
$custom: #7a7f12; $custom-light: #a4a35d; $custom-dark: #000000;
JSON
{
"hex": "#7a7f12",
"rgb": {
"r": 122,
"g": 127,
"b": 18
},
"hsl": {
"h": 62.752,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.57345,
"c": 0.12181,
"h": 112.5
},
"luminance": 0.1936
}Semantic roles & 50–950 ramp
primary
#7A7F12
secondary
#3E38B5
accent
#36F23F
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79