#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
RGBrgb(122, 112, 43)
HSLhsl(52, 48%, 32%)
HSVhsv(52, 65%, 48%)
CMYKcmyk(0%, 8.2%, 64.8%, 52.2%)
CIE-LABlab(46.84, -5.22, 38.68)
CIE-LCHlch(46.84, 39.03, 97.68°)
OKLaboklab(54% -0.0173 0.0884)
OKLCHoklch(54% 0.09 101.1)
XYZxyz(14.2568, 15.9009, 4.6032)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##7A702B1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.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

Preview Lab

Preview with #7A702B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7A702B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva