#7A702A#7A702A

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

Color values

HEX#7A702A
RGBrgb(122, 112, 42)
HSLhsl(53, 49%, 32%)
HSVhsv(53, 66%, 48%)
CMYKcmyk(0%, 8.2%, 65.6%, 52.2%)
CIE-LABlab(46.83, -5.29, 39.15)
CIE-LCHlch(46.83, 39.50, 97.69°)
OKLaboklab(53.99% -0.0176 0.0892)
OKLCHoklch(53.99% 0.091 101.2)
XYZxyz(14.2387, 15.8937, 4.5078)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A702A #2A347A
analogous
#7A482A #7A702A #5C7A2A
triadic
#7A702A #2A7A70 #702A7A
tetradic
#7A702A #2A7A48 #2A347A #7A2A5C
square
#7A702A #2A7A48 #2A347A #7A2A5C
split-complementary
#7A702A #2A5C7A #482A7A
monochromatic
#1F1C0B #4C461A #7A702A #A89A3A #C6B859

Accessibility & contrast

On white

5.03
#7A702A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A702A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A702A#FFFFFF#000000##FFFFFF
##7A702A1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D22
Deuteranopia (green-blind)
#7D712E
Tritanopia (blue-blind)
#836861
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a702a;
/* rgb */ color: rgb(122, 112, 42);
/* oklch */ color: oklch(54.0% 0.091 101.2);
Tailwind
colors: {
  custom: {
    50: '#a39867',
    500: '#7a702a',
    950: '#000000',
  },
}
SCSS
$custom: #7a702a;
$custom-light: #a39867;
$custom-dark: #000000;
JSON
{
  "hex": "#7a702a",
  "rgb": {
    "r": 122,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 52.5,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53987,
    "c": 0.09097,
    "h": 101.2
  },
  "luminance": 0.15893
}

Semantic roles & 50–950 ramp

primary
#7A702A
secondary
#555FAB
accent
#61D84F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7A702A

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

Preview Lab → · Contrast checker → · Palette generator →

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