#7A701D#7A701D

#7A701D is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.9% C 0.101 H 102.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7A701D
RGBrgb(122, 112, 29)
HSLhsl(54, 62%, 30%)
HSVhsv(54, 76%, 48%)
CMYKcmyk(0%, 8.2%, 76.2%, 52.2%)
CIE-LABlab(46.73, -6.07, 44.72)
CIE-LCHlch(46.73, 45.13, 97.73°)
OKLaboklab(53.87% -0.0214 0.0986)
OKLCHoklch(53.87% 0.101 102.2)
XYZxyz(14.0426, 15.8152, 3.4751)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A701D #1D277A
analogous
#7A411D #7A701D #567A1D
triadic
#7A701D #1D7A70 #701D7A
tetradic
#7A701D #1D7A41 #1D277A #7A1D56
square
#7A701D #1D7A41 #1D277A #7A1D56
split-complementary
#7A701D #1D567A #411D7A
monochromatic
#191706 #494311 #7A701D #AB9D29 #D2C240

Accessibility & contrast

On white

5.04
#7A701D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7A701D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A701D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A701D#FFFFFF#000000##FFFFFF
##7A701D1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C0E
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#846860
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a701d;
/* rgb */ color: rgb(122, 112, 29);
/* oklch */ color: oklch(53.9% 0.101 102.2);
Tailwind
colors: {
  custom: {
    50: '#a49860',
    500: '#7a701d',
    950: '#000000',
  },
}
SCSS
$custom: #7a701d;
$custom-light: #a49860;
$custom-dark: #000000;
JSON
{
  "hex": "#7a701d",
  "rgb": {
    "r": 122,
    "g": 112,
    "b": 29
  },
  "hsl": {
    "h": 53.548,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53872,
    "c": 0.10092,
    "h": 102.2
  },
  "luminance": 0.15815
}

Semantic roles & 50–950 ramp

primary
#7A701D
secondary
#4550AE
accent
#54E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A701D

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

Preview Lab → · Contrast checker → · Palette generator →

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