#7E751B#7E751B
#7E751B is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.106 H 103.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7E751B |
|---|---|
| RGB | rgb(126, 117, 27) |
| HSL | hsl(55, 65%, 30%) |
| HSV | hsv(55, 79%, 49%) |
| CMYK | cmyk(0%, 7.1%, 78.6%, 50.6%) |
| CIE-LAB | lab(48.56, -7.09, 47.32) |
| CIE-LCH | lch(48.56, 47.85, 98.52°) |
| OKLab | oklab(55.41% -0.0247 0.1036) |
| OKLCH | oklch(55.41% 0.107 103.4) |
| XYZ | xyz(15.1640, 17.2380, 3.5652) |
| Luminance | 0.1724 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.33
Brown Green
#706C11
ΔE00 4.14
Browny Green
#6F6C0A
ΔE00 4.35
Olive (survey)
#6E750E
ΔE00 5.04
Olive
#808000
ΔE00 5.15
Hazel
#8E7618
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E751B #1B247E
analogous
#7E431B #7E751B #567E1B
triadic
#7E751B #1B7E75 #751B7E
tetradic
#7E751B #1B7E43 #1B247E #7E1B56
square
#7E751B #1B7E43 #1B247E #7E1B56
split-complementary
#7E751B #1B567E #431B7E
monochromatic
#191705 #4C4610 #7E751B #B0A426 #D6C83E
Accessibility & contrast
On white
4.72
#7E751B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#7E751B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E751B
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E751B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E751B | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807107
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#886C64
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7e751b; /* rgb */ color: rgb(126, 117, 27); /* oklch */ color: oklch(55.4% 0.106 103.4);
Tailwind
colors: {
custom: {
50: '#a79c5f',
500: '#7e751b',
950: '#000000',
},
}SCSS
$custom: #7e751b; $custom-light: #a79c5f; $custom-dark: #000000;
JSON
{
"hex": "#7e751b",
"rgb": {
"r": 126,
"g": 117,
"b": 27
},
"hsl": {
"h": 54.545,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.55412,
"c": 0.1065,
"h": 103.4
},
"luminance": 0.17237
}Semantic roles & 50–950 ramp
primary
#7E751B
secondary
#434DB2
accent
#4FE840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79