#7B8113#7B8113
#7B8113 is a mid, vivid yellow. Relative luminance 0.200; OKLCH L 57.9% C 0.123 H 113.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7B8113 |
|---|---|
| RGB | rgb(123, 129, 19) |
| HSL | hsl(63, 74%, 29%) |
| HSV | hsv(63, 85%, 51%) |
| CMYK | cmyk(4.7%, 0%, 85.3%, 49.4%) |
| CIE-LAB | lab(51.79, -15.34, 52.58) |
| CIE-LCH | lch(51.79, 54.77, 106.26°) |
| OKLab | oklab(57.92% -0.0482 0.1134) |
| OKLCH | oklch(57.92% 0.123 113) |
| XYZ | xyz(16.1367, 19.9589, 3.6184) |
| Luminance | 0.1996 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.65
Olive
#808000
ΔE00 2.23
Swamp Green
#748500
ΔE00 2.92
Poop Green
#6F7C00
ΔE00 3.08
Murky Green
#6C7A0E
ΔE00 4.04
Olive (survey)
#6E750E
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B8113 #191381
analogous
#815013 #7B8113 #448113
triadic
#7B8113 #137B81 #81137B
tetradic
#7B8113 #138150 #191381 #811344
square
#7B8113 #138150 #191381 #811344
split-complementary
#7B8113 #134481 #501381
monochromatic
#191B04 #484C0B #7B8113 #AEB61B #D7E02E
Accessibility & contrast
On white
4.21
#7B8113 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#7B8113 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B8113
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B8113 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B8113 | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8B7D1F
Tritanopia (blue-blind)
#84796E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7b8113; /* rgb */ color: rgb(123, 129, 19); /* oklch */ color: oklch(57.9% 0.123 113.0);
Tailwind
colors: {
custom: {
50: '#a5a55e',
500: '#7b8113',
950: '#000000',
},
}SCSS
$custom: #7b8113; $custom-light: #a5a55e; $custom-dark: #000000;
JSON
{
"hex": "#7b8113",
"rgb": {
"r": 123,
"g": 129,
"b": 19
},
"hsl": {
"h": 63.273,
"s": 74.324,
"l": 29.02
},
"oklch": {
"l": 0.57916,
"c": 0.12325,
"h": 113
},
"luminance": 0.19958
}Semantic roles & 50–950 ramp
primary
#7B8113
secondary
#403AB6
accent
#37F141
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79