#7B7F12#7B7F12
#7B7F12 is a mid, vivid yellow. Relative luminance 0.194; OKLCH L 57.4% C 0.122 H 111.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7F12 |
|---|---|
| RGB | rgb(123, 127, 18) |
| HSL | hsl(62, 75%, 28%) |
| HSV | hsv(62, 86%, 50%) |
| CMYK | cmyk(3.1%, 0%, 85.8%, 50.2%) |
| CIE-LAB | lab(51.19, -14.30, 52.33) |
| CIE-LCH | lch(51.19, 54.25, 105.29°) |
| OKLab | oklab(57.43% -0.0454 0.1127) |
| OKLCH | oklch(57.43% 0.122 111.9) |
| XYZ | xyz(15.8675, 19.4338, 3.4874) |
| Luminance | 0.1943 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.93
Shit Green
#758000
ΔE00 1.96
Poop Green
#6F7C00
ΔE00 3.02
Swamp Green
#748500
ΔE00 3.62
Murky Green
#6C7A0E
ΔE00 3.92
Olive (survey)
#6E750E
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7F12 #16127F
analogous
#7F4C12 #7B7F12 #447F12
triadic
#7B7F12 #127B7F #7F127B
tetradic
#7B7F12 #127F4C #16127F #7F1244
square
#7B7F12 #127F4C #16127F #7F1244
split-complementary
#7B7F12 #12447F #4C127F
monochromatic
#1A1B04 #47490A #7B7F12 #AFB51A #DAE12B
Accessibility & contrast
On white
4.30
#7B7F12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#7B7F12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7F12
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7F12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7F12 | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7B1E
Tritanopia (blue-blind)
#84776C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7b7f12; /* rgb */ color: rgb(123, 127, 18); /* oklch */ color: oklch(57.4% 0.122 111.9);
Tailwind
colors: {
custom: {
50: '#a5a35d',
500: '#7b7f12',
950: '#000000',
},
}SCSS
$custom: #7b7f12; $custom-light: #a5a35d; $custom-dark: #000000;
JSON
{
"hex": "#7b7f12",
"rgb": {
"r": 123,
"g": 127,
"b": 18
},
"hsl": {
"h": 62.202,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.57434,
"c": 0.12151,
"h": 111.9
},
"luminance": 0.19433
}Semantic roles & 50–950 ramp
primary
#7B7F12
secondary
#3D38B5
accent
#36F23D
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79