#7A702B#7A702B
#7A702B is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.0% C 0.090 H 101.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7A702B |
|---|---|
| RGB | rgb(122, 112, 43) |
| HSL | hsl(52, 48%, 32%) |
| HSV | hsv(52, 65%, 48%) |
| CMYK | cmyk(0%, 8.2%, 64.8%, 52.2%) |
| CIE-LAB | lab(46.84, -5.22, 38.68) |
| CIE-LCH | lch(46.84, 39.03, 97.68°) |
| OKLab | oklab(54% -0.0173 0.0884) |
| OKLCH | oklch(54% 0.09 101.1) |
| XYZ | xyz(14.2568, 15.9009, 4.6032) |
| Luminance | 0.1590 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Green
#706C11
ΔE00 4.00
Ugly Brown
#7D7103
ΔE00 4.56
Browny Green
#6F6C0A
ΔE00 4.57
Olive Drab
#6F7632
ΔE00 5.81
Brownish Green
#6A6E09
ΔE00 5.85
Greenish Brown
#696112
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A702B #2B357A
analogous
#7A492B #7A702B #5D7A2B
triadic
#7A702B #2B7A70 #702B7A
tetradic
#7A702B #2B7A49 #2B357A #7A2B5D
square
#7A702B #2B7A49 #2B357A #7A2B5D
split-complementary
#7A702B #2B5D7A #492B7A
monochromatic
#1F1D0B #4D461B #7A702B #A79A3B #C5B75A
Accessibility & contrast
On white
5.02
#7A702B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#7A702B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A702B
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A702B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A702B | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6D23
Deuteranopia (green-blind)
#7D712F
Tritanopia (blue-blind)
#836861
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7a702b; /* rgb */ color: rgb(122, 112, 43); /* oklch */ color: oklch(54.0% 0.090 101.1);
Tailwind
colors: {
custom: {
50: '#a39868',
500: '#7a702b',
950: '#000000',
},
}SCSS
$custom: #7a702b; $custom-light: #a39868; $custom-dark: #000000;
JSON
{
"hex": "#7a702b",
"rgb": {
"r": 122,
"g": 112,
"b": 43
},
"hsl": {
"h": 52.405,
"s": 47.879,
"l": 32.353
},
"oklch": {
"l": 0.53998,
"c": 0.09008,
"h": 101.1
},
"luminance": 0.159
}Semantic roles & 50–950 ramp
primary
#7A702B
secondary
#5661AB
accent
#61D750
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A