#7D751C#7D751C
#7D751C is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.3% C 0.106 H 104.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7D751C |
|---|---|
| RGB | rgb(125, 117, 28) |
| HSL | hsl(55, 63%, 30%) |
| HSV | hsv(55, 78%, 49%) |
| CMYK | cmyk(0%, 6.4%, 77.6%, 51%) |
| CIE-LAB | lab(48.47, -7.51, 46.84) |
| CIE-LCH | lch(48.47, 47.44, 99.11°) |
| OKLab | oklab(55.32% -0.0257 0.1028) |
| OKLCH | oklch(55.32% 0.106 104.1) |
| XYZ | xyz(15.0290, 17.1670, 3.6203) |
| Luminance | 0.1717 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.55
Brown Green
#706C11
ΔE00 3.96
Browny Green
#6F6C0A
ΔE00 4.17
Olive (survey)
#6E750E
ΔE00 4.73
Olive
#808000
ΔE00 5.13
Brownish Green
#6A6E09
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D751C #1C247D
analogous
#7D451C #7D751C #547D1C
triadic
#7D751C #1C7D75 #751C7D
tetradic
#7D751C #1C7D45 #1C247D #7D1C54
square
#7D751C #1C7D45 #1C247D #7D1C54
split-complementary
#7D751C #1C547D #451C7D
monochromatic
#191706 #4B4611 #7D751C #AFA427 #D4C83F
Accessibility & contrast
On white
4.74
#7D751C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#7D751C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D751C
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D751C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D751C | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807109
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#876C64
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7d751c; /* rgb */ color: rgb(125, 117, 28); /* oklch */ color: oklch(55.3% 0.106 104.1);
Tailwind
colors: {
custom: {
50: '#a69c60',
500: '#7d751c',
950: '#000000',
},
}SCSS
$custom: #7d751c; $custom-light: #a69c60; $custom-dark: #000000;
JSON
{
"hex": "#7d751c",
"rgb": {
"r": 125,
"g": 117,
"b": 28
},
"hsl": {
"h": 55.052,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.5532,
"c": 0.106,
"h": 104.1
},
"luminance": 0.17166
}Semantic roles & 50–950 ramp
primary
#7D751C
secondary
#444DB1
accent
#4FE641
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79