#7E751F#7E751F
#7E751F is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.4% C 0.104 H 103.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7E751F |
|---|---|
| RGB | rgb(126, 117, 31) |
| HSL | hsl(54, 61%, 31%) |
| HSV | hsv(54, 75%, 49%) |
| CMYK | cmyk(0%, 7.1%, 75.4%, 50.6%) |
| CIE-LAB | lab(48.58, -6.90, 45.84) |
| CIE-LCH | lch(48.58, 46.36, 98.56°) |
| OKLab | oklab(55.44% -0.0238 0.1013) |
| OKLCH | oklch(55.44% 0.104 103.2) |
| XYZ | xyz(15.2135, 17.2578, 3.8258) |
| Luminance | 0.1726 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.69
Brown Green
#706C11
ΔE00 4.17
Browny Green
#6F6C0A
ΔE00 4.43
Olive (survey)
#6E750E
ΔE00 5.12
Hazel
#8E7618
ΔE00 5.27
Olive
#808000
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E751F #1F287E
analogous
#7E451F #7E751F #577E1F
triadic
#7E751F #1F7E75 #751F7E
tetradic
#7E751F #1F7E45 #1F287E #7E1F57
square
#7E751F #1F7E45 #1F287E #7E1F57
split-complementary
#7E751F #1F577E #451F7E
monochromatic
#1C1A07 #4D4713 #7E751F #AFA32B #D1C446
Accessibility & contrast
On white
4.72
#7E751F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#7E751F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E751F
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E751F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E751F | 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)
#807110
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#886C64
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7e751f; /* rgb */ color: rgb(126, 117, 31); /* oklch */ color: oklch(55.4% 0.104 103.2);
Tailwind
colors: {
custom: {
50: '#a79c61',
500: '#7e751f',
950: '#000000',
},
}SCSS
$custom: #7e751f; $custom-light: #a79c61; $custom-dark: #000000;
JSON
{
"hex": "#7e751f",
"rgb": {
"r": 126,
"g": 117,
"b": 31
},
"hsl": {
"h": 54.316,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.55439,
"c": 0.10401,
"h": 103.2
},
"luminance": 0.17257
}Semantic roles & 50–950 ramp
primary
#7E751F
secondary
#4852B1
accent
#53E444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A