#7A701F#7A701F

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

Color values

HEX#7A701F
RGBrgb(122, 112, 31)
HSLhsl(53, 59%, 30%)
HSVhsv(53, 75%, 48%)
CMYKcmyk(0%, 8.2%, 74.6%, 52.2%)
CIE-LABlab(46.74, -5.96, 43.93)
CIE-LCHlch(46.74, 44.34, 97.73°)
OKLaboklab(53.89% -0.0209 0.0974)
OKLCHoklch(53.89% 0.1 102.1)
XYZxyz(14.0682, 15.8255, 3.6096)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A701F #1F297A
analogous
#7A431F #7A701F #567A1F
triadic
#7A701F #1F7A70 #701F7A
tetradic
#7A701F #1F7A43 #1F297A #7A1F56
square
#7A701F #1F7A43 #1F297A #7A1F56
split-complementary
#7A701F #1F567A #431F7A
monochromatic
#181606 #494313 #7A701F #AB9D2B #CFC044

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A701F#FFFFFF#000000##FFFFFF
##7A701F1.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)
#7B6C12
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#846860
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a701f;
/* rgb */ color: rgb(122, 112, 31);
/* oklch */ color: oklch(53.9% 0.100 102.1);
Tailwind
colors: {
  custom: {
    50: '#a39861',
    500: '#7a701f',
    950: '#000000',
  },
}
SCSS
$custom: #7a701f;
$custom-light: #a39861;
$custom-dark: #000000;
JSON
{
  "hex": "#7a701f",
  "rgb": {
    "r": 122,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 53.407,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.53887,
    "c": 0.09959,
    "h": 102.1
  },
  "luminance": 0.15825
}

Semantic roles & 50–950 ramp

primary
#7A701F
secondary
#4753AD
accent
#56E345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A701F

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

Preview Lab → · Contrast checker → · Palette generator →

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