#7B7E13#7B7E13
#7B7E13 is a mid, vivid yellow. Relative luminance 0.192; OKLCH L 57.2% C 0.120 H 111.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7E13 |
|---|---|
| RGB | rgb(123, 126, 19) |
| HSL | hsl(62, 74%, 28%) |
| HSV | hsv(62, 85%, 49%) |
| CMYK | cmyk(2.4%, 0%, 84.9%, 50.6%) |
| CIE-LAB | lab(50.90, -13.73, 51.82) |
| CIE-LCH | lch(50.90, 53.61, 104.84°) |
| OKLab | oklab(57.2% -0.0438 0.1118) |
| OKLCH | oklch(57.2% 0.12 111.4) |
| XYZ | xyz(15.7474, 19.1801, 3.4886) |
| Luminance | 0.1918 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.99
Shit Green
#758000
ΔE00 2.26
Poop Green
#6F7C00
ΔE00 3.09
Murky Green
#6C7A0E
ΔE00 3.91
Swamp Green
#748500
ΔE00 4.01
Olive (survey)
#6E750E
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7E13 #16137E
analogous
#7E4B13 #7B7E13 #457E13
triadic
#7B7E13 #137B7E #7E137B
tetradic
#7B7E13 #137E4B #16137E #7E1345
square
#7B7E13 #137E4B #16137E #7E1345
split-complementary
#7B7E13 #13457E #4B137E
monochromatic
#1A1B04 #47490B #7B7E13 #AFB31B #DADF2C
Accessibility & contrast
On white
4.34
#7B7E13 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#7B7E13 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7E13
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7E13 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7E13 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#897A1E
Tritanopia (blue-blind)
#84766B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7b7e13; /* rgb */ color: rgb(123, 126, 19); /* oklch */ color: oklch(57.2% 0.120 111.4);
Tailwind
colors: {
custom: {
50: '#a5a35d',
500: '#7b7e13',
950: '#000000',
},
}SCSS
$custom: #7b7e13; $custom-light: #a5a35d; $custom-dark: #000000;
JSON
{
"hex": "#7b7e13",
"rgb": {
"r": 123,
"g": 126,
"b": 19
},
"hsl": {
"h": 61.682,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.572,
"c": 0.12004,
"h": 111.4
},
"luminance": 0.1918
}Semantic roles & 50–950 ramp
primary
#7B7E13
secondary
#3D39B4
accent
#37F03D
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79