#7A761C#7A761C
#7A761C is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.3% C 0.107 H 106.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7A761C |
|---|---|
| RGB | rgb(122, 118, 28) |
| HSL | hsl(57, 63%, 29%) |
| HSV | hsv(57, 77%, 48%) |
| CMYK | cmyk(0%, 3.3%, 77%, 52.2%) |
| CIE-LAB | lab(48.48, -9.47, 46.76) |
| CIE-LCH | lch(48.48, 47.71, 101.45°) |
| OKLab | oklab(55.27% -0.0311 0.1028) |
| OKLCH | oklch(55.27% 0.107 106.8) |
| XYZ | xyz(14.7147, 17.1788, 3.6391) |
| Luminance | 0.1718 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.46
Olive (survey)
#6E750E
ΔE00 3.54
Brown Green
#706C11
ΔE00 3.84
Browny Green
#6F6C0A
ΔE00 3.97
Brownish Green
#6A6E09
ΔE00 4.42
Olive
#808000
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A761C #1C207A
analogous
#7A471C #7A761C #4F7A1C
triadic
#7A761C #1C7A76 #761C7A
tetradic
#7A761C #1C7A47 #1C207A #7A1C4F
square
#7A761C #1C7A47 #1C207A #7A1C4F
split-complementary
#7A761C #1C4F7A #471C7A
monochromatic
#191806 #484611 #7A761C #ACA627 #D3CC3E
Accessibility & contrast
On white
4.73
#7A761C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#7A761C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A761C
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A761C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A761C | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817109
Deuteranopia (green-blind)
#827523
Tritanopia (blue-blind)
#836E65
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7a761c; /* rgb */ color: rgb(122, 118, 28); /* oklch */ color: oklch(55.3% 0.107 106.8);
Tailwind
colors: {
custom: {
50: '#a49d60',
500: '#7a761c',
950: '#000000',
},
}SCSS
$custom: #7a761c; $custom-light: #a49d60; $custom-dark: #000000;
JSON
{
"hex": "#7a761c",
"rgb": {
"r": 122,
"g": 118,
"b": 28
},
"hsl": {
"h": 57.447,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.55265,
"c": 0.10736,
"h": 106.8
},
"luminance": 0.17178
}Semantic roles & 50–950 ramp
primary
#7A761C
secondary
#4448AE
accent
#49E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79