#7C751F#7C751F
#7C751F is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.2% C 0.104 H 104.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7C751F |
|---|---|
| RGB | rgb(124, 117, 31) |
| HSL | hsl(55, 60%, 30%) |
| HSV | hsv(55, 75%, 49%) |
| CMYK | cmyk(0%, 5.6%, 75%, 51.4%) |
| CIE-LAB | lab(48.39, -7.84, 45.60) |
| CIE-LCH | lch(48.39, 46.27, 99.75°) |
| OKLab | oklab(55.24% -0.0263 0.1008) |
| OKLCH | oklch(55.24% 0.104 104.6) |
| XYZ | xyz(14.9214, 17.1072, 3.8121) |
| Luminance | 0.1711 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.98
Brown Green
#706C11
ΔE00 3.82
Browny Green
#6F6C0A
ΔE00 4.07
Olive (survey)
#6E750E
ΔE00 4.48
Brownish Green
#6A6E09
ΔE00 4.95
Olive
#808000
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C751F #1F267C
analogous
#7C461F #7C751F #547C1F
triadic
#7C751F #1F7C75 #751F7C
tetradic
#7C751F #1F7C46 #1F267C #7C1F54
square
#7C751F #1F7C46 #1F267C #7C1F54
split-complementary
#7C751F #1F547C #461F7C
monochromatic
#1A1907 #4B4713 #7C751F #ADA32B #D0C645
Accessibility & contrast
On white
4.75
#7C751F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#7C751F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C751F
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C751F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C751F | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#827525
Tritanopia (blue-blind)
#866D64
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7c751f; /* rgb */ color: rgb(124, 117, 31); /* oklch */ color: oklch(55.2% 0.104 104.6);
Tailwind
colors: {
custom: {
50: '#a59c61',
500: '#7c751f',
950: '#000000',
},
}SCSS
$custom: #7c751f; $custom-light: #a59c61; $custom-dark: #000000;
JSON
{
"hex": "#7c751f",
"rgb": {
"r": 124,
"g": 117,
"b": 31
},
"hsl": {
"h": 55.484,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.55244,
"c": 0.10419,
"h": 104.6
},
"luminance": 0.17107
}Semantic roles & 50–950 ramp
primary
#7C751F
secondary
#484FAF
accent
#51E345
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A