#7A701B#7A701B

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

Color values

HEX#7A701B
RGBrgb(122, 112, 27)
HSLhsl(54, 64%, 29%)
HSVhsv(54, 78%, 48%)
CMYKcmyk(0%, 8.2%, 77.9%, 52.2%)
CIE-LABlab(46.72, -6.16, 45.47)
CIE-LCHlch(46.72, 45.89, 97.72°)
OKLaboklab(53.86% -0.0219 0.0998)
OKLCHoklch(53.86% 0.102 102.4)
XYZxyz(14.0187, 15.8057, 3.3491)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A701B #1B257A
analogous
#7A411B #7A701B #557A1B
triadic
#7A701B #1B7A70 #701B7A
tetradic
#7A701B #1B7A41 #1B257A #7A1B55
square
#7A701B #1B7A41 #1B257A #7A1B55
split-complementary
#7A701B #1B557A #411B7A
monochromatic
#191706 #484210 #7A701B #AC9E26 #D4C43C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A701B#FFFFFF#000000##FFFFFF
##7A701B1.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)
#7B6C0A
Deuteranopia (green-blind)
#7E7121
Tritanopia (blue-blind)
#846860
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a701b;
/* rgb */ color: rgb(122, 112, 27);
/* oklch */ color: oklch(53.9% 0.102 102.4);
Tailwind
colors: {
  custom: {
    50: '#a4985f',
    500: '#7a701b',
    950: '#000000',
  },
}
SCSS
$custom: #7a701b;
$custom-light: #a4985f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a701b",
  "rgb": {
    "r": 122,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 53.684,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53858,
    "c": 0.10219,
    "h": 102.4
  },
  "luminance": 0.15805
}

Semantic roles & 50–950 ramp

primary
#7A701B
secondary
#434EAE
accent
#52E741
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A701B

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

Preview Lab → · Contrast checker → · Palette generator →

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