#7A702D#7A702D

#7A702D is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.0% C 0.088 H 100.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7A702D
RGBrgb(122, 112, 45)
HSLhsl(52, 46%, 33%)
HSVhsv(52, 63%, 48%)
CMYKcmyk(0%, 8.2%, 63.1%, 52.2%)
CIE-LABlab(46.86, -5.07, 37.73)
CIE-LCHlch(46.86, 38.07, 97.65°)
OKLaboklab(54.02% -0.0166 0.0867)
OKLCHoklch(54.02% 0.088 100.9)
XYZxyz(14.2944, 15.9160, 4.8012)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A702D #2D377A
analogous
#7A492D #7A702D #5D7A2D
triadic
#7A702D #2D7A70 #702D7A
tetradic
#7A702D #2D7A49 #2D377A #7A2D5D
square
#7A702D #2D7A49 #2D377A #7A2D5D
split-complementary
#7A702D #2D5D7A #492D7A
monochromatic
#211E0C #4D471D #7A702D #A7993D #C4B65E

Accessibility & contrast

On white

5.02
#7A702D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7A702D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A702D
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A702D#FFFFFF#000000##FFFFFF
##7A702D1.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)
#7A6D26
Deuteranopia (green-blind)
#7D7130
Tritanopia (blue-blind)
#836862
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a702d;
/* rgb */ color: rgb(122, 112, 45);
/* oklch */ color: oklch(54.0% 0.088 100.9);
Tailwind
colors: {
  custom: {
    50: '#a39869',
    500: '#7a702d',
    950: '#000000',
  },
}
SCSS
$custom: #7a702d;
$custom-light: #a39869;
$custom-dark: #000000;
JSON
{
  "hex": "#7a702d",
  "rgb": {
    "r": 122,
    "g": 112,
    "b": 45
  },
  "hsl": {
    "h": 52.208,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5402,
    "c": 0.08826,
    "h": 100.9
  },
  "luminance": 0.15915
}

Semantic roles & 50–950 ramp

primary
#7A702D
secondary
#5963AA
accent
#63D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7A702D

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

Preview Lab → · Contrast checker → · Palette generator →

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