#7C831B#7C831B
#7C831B is a mid, vivid yellow. Relative luminance 0.206; OKLCH L 58.5% C 0.121 H 113.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7C831B |
|---|---|
| RGB | rgb(124, 131, 27) |
| HSL | hsl(64, 66%, 31%) |
| HSV | hsv(64, 79%, 51%) |
| CMYK | cmyk(5.3%, 0%, 79.4%, 48.6%) |
| CIE-LAB | lab(52.51, -15.65, 50.88) |
| CIE-LCH | lch(52.51, 53.23, 107.09°) |
| OKLab | oklab(58.52% -0.0485 0.1112) |
| OKLCH | oklch(58.52% 0.121 113.5) |
| XYZ | xyz(16.6268, 20.5972, 4.1365) |
| Luminance | 0.2060 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.20
Swamp Green
#748500
ΔE00 2.77
Olive
#808000
ΔE00 2.91
Poop Green
#6F7C00
ΔE00 3.62
Murky Green
#6C7A0E
ΔE00 4.43
Olive Green
#677A04
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C831B #221B83
analogous
#83561B #7C831B #48831B
triadic
#7C831B #1B7C83 #831B7C
tetradic
#7C831B #1B8356 #221B83 #831B48
square
#7C831B #1B8356 #221B83 #831B48
split-complementary
#7C831B #1B4883 #561B83
monochromatic
#1C1E06 #4C5011 #7C831B #ACB625 #CED841
Accessibility & contrast
On white
4.10
#7C831B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#7C831B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C831B
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C831B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C831B | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#857B70
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #7c831b; /* rgb */ color: rgb(124, 131, 27); /* oklch */ color: oklch(58.5% 0.121 113.5);
Tailwind
colors: {
custom: {
50: '#a5a661',
500: '#7c831b',
950: '#000000',
},
}SCSS
$custom: #7c831b; $custom-light: #a5a661; $custom-dark: #000000;
JSON
{
"hex": "#7c831b",
"rgb": {
"r": 124,
"g": 131,
"b": 27
},
"hsl": {
"h": 64.038,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.58521,
"c": 0.12135,
"h": 113.5
},
"luminance": 0.20597
}Semantic roles & 50–950 ramp
primary
#7C831B
secondary
#4B43B6
accent
#3FE94A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A