#7D751B#7D751B
#7D751B is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.3% C 0.107 H 104.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7D751B |
|---|---|
| RGB | rgb(125, 117, 27) |
| HSL | hsl(55, 64%, 30%) |
| HSV | hsv(55, 78%, 49%) |
| CMYK | cmyk(0%, 6.4%, 78.4%, 51%) |
| CIE-LAB | lab(48.46, -7.56, 47.20) |
| CIE-LCH | lch(48.46, 47.80, 99.10°) |
| OKLab | oklab(55.31% -0.026 0.1034) |
| OKLCH | oklch(55.31% 0.107 104.1) |
| XYZ | xyz(15.0172, 17.1623, 3.5583) |
| Luminance | 0.1716 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.47
Brown Green
#706C11
ΔE00 3.96
Browny Green
#6F6C0A
ΔE00 4.15
Olive (survey)
#6E750E
ΔE00 4.71
Olive
#808000
ΔE00 5.07
Brownish Green
#6A6E09
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D751B #1B237D
analogous
#7D441B #7D751B #547D1B
triadic
#7D751B #1B7D75 #751B7D
tetradic
#7D751B #1B7D44 #1B237D #7D1B54
square
#7D751B #1B7D44 #1B237D #7D1B54
split-complementary
#7D751B #1B547D #441B7D
monochromatic
#191805 #4B4610 #7D751B #AFA426 #D5C93D
Accessibility & contrast
On white
4.74
#7D751B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#7D751B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D751B
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D751B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D751B | 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)
#807107
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#876C64
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7d751b; /* rgb */ color: rgb(125, 117, 27); /* oklch */ color: oklch(55.3% 0.107 104.1);
Tailwind
colors: {
custom: {
50: '#a69c5f',
500: '#7d751b',
950: '#000000',
},
}SCSS
$custom: #7d751b; $custom-light: #a69c5f; $custom-dark: #000000;
JSON
{
"hex": "#7d751b",
"rgb": {
"r": 125,
"g": 117,
"b": 27
},
"hsl": {
"h": 55.102,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.55314,
"c": 0.10658,
"h": 104.1
},
"luminance": 0.17162
}Semantic roles & 50–950 ramp
primary
#7D751B
secondary
#434CB1
accent
#4EE740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79