#7A703B#7A703B

#7A703B is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.2% C 0.074 H 98.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7A703B
RGBrgb(122, 112, 59)
HSLhsl(50, 35%, 35%)
HSVhsv(50, 52%, 48%)
CMYKcmyk(0%, 8.2%, 51.6%, 52.2%)
CIE-LABlab(47.03, -3.84, 30.65)
CIE-LCHlch(47.03, 30.89, 97.14°)
OKLaboklab(54.21% -0.0114 0.073)
OKLCHoklch(54.21% 0.074 98.9)
XYZxyz(14.6101, 16.0422, 6.4637)
Luminance0.1604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A703B #3B457A
analogous
#7A503B #7A703B #647A3B
triadic
#7A703B #3B7A70 #703B7A
tetradic
#7A703B #3B7A50 #3B457A #7A3B64
square
#7A703B #3B7A50 #3B457A #7A3B64
split-complementary
#7A703B #3B647A #503B7A
monochromatic
#272413 #514A27 #7A703B #A3964F #BCB074

Accessibility & contrast

On white

4.99
#7A703B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7A703B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A703B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A703B#FFFFFF#000000##FFFFFF
##7A703B1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D36
Deuteranopia (green-blind)
#7C713D
Tritanopia (blue-blind)
#826964
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a703b;
/* rgb */ color: rgb(122, 112, 59);
/* oklch */ color: oklch(54.2% 0.074 98.9);
Tailwind
colors: {
  custom: {
    50: '#a29872',
    500: '#7a703b',
    950: '#000000',
  },
}
SCSS
$custom: #7a703b;
$custom-light: #a29872;
$custom-dark: #000000;
JSON
{
  "hex": "#7a703b",
  "rgb": {
    "r": 122,
    "g": 112,
    "b": 59
  },
  "hsl": {
    "h": 50.476,
    "s": 34.807,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54205,
    "c": 0.07389,
    "h": 98.9
  },
  "luminance": 0.16042
}

Semantic roles & 50–950 ramp

primary
#7A703B
secondary
#6C75A5
accent
#6ECB5D
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0D08
muted
#7F7E7B

Preview Lab

Preview with #7A703B

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

Preview Lab → · Contrast checker → · Palette generator →

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