#787E10#787E10
#787E10 is a mid, vivid yellow. Relative luminance 0.190; OKLCH L 56.9% C 0.122 H 113.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #787E10 |
|---|---|
| RGB | rgb(120, 126, 16) |
| HSL | hsl(63, 77%, 28%) |
| HSV | hsv(63, 87%, 49%) |
| CMYK | cmyk(4.8%, 0%, 87.3%, 50.6%) |
| CIE-LAB | lab(50.63, -15.21, 52.26) |
| CIE-LCH | lch(50.63, 54.43, 106.23°) |
| OKLab | oklab(56.92% -0.0479 0.1124) |
| OKLCH | oklch(56.92% 0.122 113.1) |
| XYZ | xyz(15.3006, 18.9525, 3.3423) |
| Luminance | 0.1895 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.54
Poop Green
#6F7C00
ΔE00 2.27
Olive
#808000
ΔE00 2.56
Murky Green
#6C7A0E
ΔE00 3.15
Swamp Green
#748500
ΔE00 3.41
Olive (survey)
#6E750E
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787E10 #16107E
analogous
#7E4D10 #787E10 #417E10
triadic
#787E10 #10787E #7E1078
tetradic
#787E10 #107E4D #16107E #7E1041
square
#787E10 #107E4D #16107E #7E1041
split-complementary
#787E10 #10417E #4D107E
monochromatic
#1A1B03 #444809 #787E10 #ACB417 #D9E325
Accessibility & contrast
On white
4.38
#787E10 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#787E10 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787E10
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787E10 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787E10 | 1.00 | 4.38 | 4.79 | 4.79 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#887A1C
Tritanopia (blue-blind)
#81766B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #787e10; /* rgb */ color: rgb(120, 126, 16); /* oklch */ color: oklch(56.9% 0.122 113.1);
Tailwind
colors: {
custom: {
50: '#a3a35c',
500: '#787e10',
950: '#000000',
},
}SCSS
$custom: #787e10; $custom-light: #a3a35c; $custom-dark: #000000;
JSON
{
"hex": "#787e10",
"rgb": {
"r": 120,
"g": 126,
"b": 16
},
"hsl": {
"h": 63.273,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.56921,
"c": 0.12213,
"h": 113.1
},
"luminance": 0.18952
}Semantic roles & 50–950 ramp
primary
#787E10
secondary
#3C36B4
accent
#34F43E
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79