#787F13#787F13
#787F13 is a mid, vivid yellow. Relative luminance 0.192; OKLCH L 57.2% C 0.122 H 113.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #787F13 |
|---|---|
| RGB | rgb(120, 127, 19) |
| HSL | hsl(64, 74%, 29%) |
| HSV | hsv(64, 85%, 50%) |
| CMYK | cmyk(5.5%, 0%, 85%, 50.2%) |
| CIE-LAB | lab(50.94, -15.65, 51.76) |
| CIE-LCH | lch(50.94, 54.07, 106.82°) |
| OKLab | oklab(57.17% -0.0489 0.1118) |
| OKLCH | oklch(57.17% 0.122 113.6) |
| XYZ | xyz(15.4532, 19.2192, 3.5116) |
| Luminance | 0.1922 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.40
Poop Green
#6F7C00
ΔE00 2.30
Olive
#808000
ΔE00 2.76
Swamp Green
#748500
ΔE00 3.07
Murky Green
#6C7A0E
ΔE00 3.15
Olive (survey)
#6E750E
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787F13 #1A137F
analogous
#7F5013 #787F13 #427F13
triadic
#787F13 #13787F #7F1378
tetradic
#787F13 #137F50 #1A137F #7F1342
square
#787F13 #137F50 #1A137F #7F1342
split-complementary
#787F13 #13427F #50137F
monochromatic
#191B04 #464A0B #787F13 #AAB41B #D4E02D
Accessibility & contrast
On white
4.34
#787F13 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#787F13 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787F13
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787F13 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787F13 | 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)
#81776C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #787f13; /* rgb */ color: rgb(120, 127, 19); /* oklch */ color: oklch(57.2% 0.122 113.6);
Tailwind
colors: {
custom: {
50: '#a2a35d',
500: '#787f13',
950: '#000000',
},
}SCSS
$custom: #787f13; $custom-light: #a2a35d; $custom-dark: #000000;
JSON
{
"hex": "#787f13",
"rgb": {
"r": 120,
"g": 127,
"b": 19
},
"hsl": {
"h": 63.889,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.57174,
"c": 0.12202,
"h": 113.6
},
"luminance": 0.19219
}Semantic roles & 50–950 ramp
primary
#787F13
secondary
#4139B4
accent
#37F143
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#0F0F05
muted
#7F7F79