#756E12#756E12
#756E12 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 52.8% C 0.106 H 104.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #756E12 |
|---|---|
| RGB | rgb(117, 110, 18) |
| HSL | hsl(56, 73%, 26%) |
| HSV | hsv(56, 85%, 46%) |
| CMYK | cmyk(0%, 6%, 84.6%, 54.1%) |
| CIE-LAB | lab(45.60, -7.78, 47.34) |
| CIE-LCH | lch(45.60, 47.98, 99.33°) |
| OKLab | oklab(52.84% -0.027 0.1022) |
| OKLCH | oklch(52.84% 0.106 104.8) |
| XYZ | xyz(13.0218, 14.9780, 2.7773) |
| Luminance | 0.1498 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Green
#706C11
ΔE00 1.39
Browny Green
#6F6C0A
ΔE00 1.67
Ugly Brown
#7D7103
ΔE00 2.69
Brownish Green
#6A6E09
ΔE00 3.53
Olive (survey)
#6E750E
ΔE00 4.59
Greenish Brown
#696112
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#756E12 #121975
analogous
#753D12 #756E12 #4B7512
triadic
#756E12 #12756E #6E1275
tetradic
#756E12 #12753D #121975 #75124B
square
#756E12 #12753D #121975 #75124B
split-complementary
#756E12 #124B75 #3D1275
monochromatic
#1B1904 #403C0A #756E12 #AAA01A #DDD024
Accessibility & contrast
On white
5.26
#756E12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#756E12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #756E12
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##756E12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##756E12 | 1.00 | 5.26 | 4.00 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#7B6E1A
Tritanopia (blue-blind)
#7E665D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #756e12; /* rgb */ color: rgb(117, 110, 18); /* oklch */ color: oklch(52.8% 0.106 104.8);
Tailwind
colors: {
custom: {
50: '#a0975a',
500: '#756e12',
950: '#000000',
},
}SCSS
$custom: #756e12; $custom-light: #a0975a; $custom-dark: #000000;
JSON
{
"hex": "#756e12",
"rgb": {
"r": 117,
"g": 110,
"b": 18
},
"hsl": {
"h": 55.758,
"s": 73.333,
"l": 26.471
},
"oklch": {
"l": 0.52841,
"c": 0.1057,
"h": 104.8
},
"luminance": 0.14977
}Semantic roles & 50–950 ramp
primary
#756E12
secondary
#373FAC
accent
#45F038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D04
muted
#7F7E79