#787F10#787F10
#787F10 is a mid, vivid yellow. Relative luminance 0.192; OKLCH L 57.2% C 0.123 H 113.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #787F10 |
|---|---|
| RGB | rgb(120, 127, 16) |
| HSL | hsl(64, 78%, 28%) |
| HSV | hsv(64, 87%, 50%) |
| CMYK | cmyk(5.5%, 0%, 87.4%, 50.2%) |
| CIE-LAB | lab(50.93, -15.74, 52.51) |
| CIE-LCH | lch(50.93, 54.82, 106.69°) |
| OKLab | oklab(57.16% -0.0494 0.1129) |
| OKLCH | oklch(57.16% 0.123 113.6) |
| XYZ | xyz(15.4291, 19.2096, 3.3852) |
| Luminance | 0.1921 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.25
Poop Green
#6F7C00
ΔE00 2.26
Olive
#808000
ΔE00 2.62
Swamp Green
#748500
ΔE00 3.01
Murky Green
#6C7A0E
ΔE00 3.21
Olive (survey)
#6E750E
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787F10 #17107F
analogous
#7F4E10 #787F10 #407F10
triadic
#787F10 #10787F #7F1078
tetradic
#787F10 #107F4E #17107F #7F1040
square
#787F10 #107F4E #17107F #7F1040
split-complementary
#787F10 #10407F #4E107F
monochromatic
#1A1B03 #454909 #787F10 #ABB517 #D8E426
Accessibility & contrast
On white
4.34
#787F10 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#787F10 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787F10
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787F10 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787F10 | 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)
#897A1C
Tritanopia (blue-blind)
#81776C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #787f10; /* rgb */ color: rgb(120, 127, 16); /* oklch */ color: oklch(57.2% 0.123 113.6);
Tailwind
colors: {
custom: {
50: '#a3a35c',
500: '#787f10',
950: '#000000',
},
}SCSS
$custom: #787f10; $custom-light: #a3a35c; $custom-dark: #000000;
JSON
{
"hex": "#787f10",
"rgb": {
"r": 120,
"g": 127,
"b": 16
},
"hsl": {
"h": 63.784,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.57162,
"c": 0.12321,
"h": 113.6
},
"luminance": 0.19209
}Semantic roles & 50–950 ramp
primary
#787F10
secondary
#3E36B5
accent
#34F440
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79