#757F12#757F12
#757F12 is a mid, vivid yellow. Relative luminance 0.190; OKLCH L 56.9% C 0.123 H 115.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #757F12 |
|---|---|
| RGB | rgb(117, 127, 18) |
| HSL | hsl(66, 75%, 28%) |
| HSV | hsv(66, 86%, 50%) |
| CMYK | cmyk(7.9%, 0%, 85.8%, 50.2%) |
| CIE-LAB | lab(50.69, -17.06, 51.71) |
| CIE-LCH | lch(50.69, 54.45, 108.25°) |
| OKLab | oklab(56.91% -0.0527 0.1116) |
| OKLCH | oklch(56.91% 0.123 115.3) |
| XYZ | xyz(15.0351, 19.0046, 3.4484) |
| Luminance | 0.1900 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.16
Poop Green
#6F7C00
ΔE00 1.71
Murky Green
#6C7A0E
ΔE00 2.52
Swamp Green
#748500
ΔE00 2.66
Olive Green
#677A04
ΔE00 3.46
Olive
#808000
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#757F12 #1C127F
analogous
#7F5212 #757F12 #3E7F12
triadic
#757F12 #12757F #7F1275
tetradic
#757F12 #127F52 #1C127F #7F123E
square
#757F12 #127F52 #1C127F #7F123E
split-complementary
#757F12 #123E7F #52127F
monochromatic
#191B04 #44490A #757F12 #A6B51A #D0E12B
Accessibility & contrast
On white
4.37
#757F12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#757F12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #757F12
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##757F12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##757F12 | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#88791E
Tritanopia (blue-blind)
#7D776C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #757f12; /* rgb */ color: rgb(117, 127, 18); /* oklch */ color: oklch(56.9% 0.123 115.3);
Tailwind
colors: {
custom: {
50: '#a0a45d',
500: '#757f12',
950: '#000000',
},
}SCSS
$custom: #757f12; $custom-light: #a0a45d; $custom-dark: #000000;
JSON
{
"hex": "#757f12",
"rgb": {
"r": 117,
"g": 127,
"b": 18
},
"hsl": {
"h": 65.505,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.56911,
"c": 0.12345,
"h": 115.3
},
"luminance": 0.19004
}Semantic roles & 50–950 ramp
primary
#757F12
secondary
#4438B5
accent
#36F247
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#0F0F05
muted
#7F7F79