#7A701A#7A701A

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

Color values

HEX#7A701A
RGBrgb(122, 112, 26)
HSLhsl(54, 65%, 29%)
HSVhsv(54, 79%, 48%)
CMYKcmyk(0%, 8.2%, 78.7%, 52.2%)
CIE-LABlab(46.71, -6.21, 45.84)
CIE-LCHlch(46.71, 46.26, 97.71°)
OKLaboklab(53.85% -0.0221 0.1004)
OKLCHoklch(53.85% 0.103 102.4)
XYZxyz(14.0073, 15.8011, 3.2892)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A701A #1A247A
analogous
#7A401A #7A701A #547A1A
triadic
#7A701A #1A7A70 #701A7A
tetradic
#7A701A #1A7A40 #1A247A #7A1A54
square
#7A701A #1A7A40 #1A247A #7A1A54
split-complementary
#7A701A #1A547A #401A7A
monochromatic
#191705 #48420F #7A701A #AC9E25 #D5C539

Accessibility & contrast

On white

5.05
#7A701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A701A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A701A#FFFFFF#000000##FFFFFF
##7A701A1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a701a;
/* rgb */ color: rgb(122, 112, 26);
/* oklch */ color: oklch(53.9% 0.103 102.4);
Tailwind
colors: {
  custom: {
    50: '#a4985e',
    500: '#7a701a',
    950: '#000000',
  },
}
SCSS
$custom: #7a701a;
$custom-light: #a4985e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a701a",
  "rgb": {
    "r": 122,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 53.75,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53851,
    "c": 0.1028,
    "h": 102.4
  },
  "luminance": 0.158
}

Semantic roles & 50–950 ramp

primary
#7A701A
secondary
#414DAE
accent
#51E840
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A701A

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

Preview Lab → · Contrast checker → · Palette generator →

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