#7A701C#7A701C

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

Color values

HEX#7A701C
RGBrgb(122, 112, 28)
HSLhsl(54, 63%, 29%)
HSVhsv(54, 77%, 48%)
CMYKcmyk(0%, 8.2%, 77%, 52.2%)
CIE-LABlab(46.72, -6.12, 45.10)
CIE-LCHlch(46.72, 45.51, 97.72°)
OKLaboklab(53.86% -0.0216 0.0992)
OKLCHoklch(53.86% 0.102 102.3)
XYZxyz(14.0304, 15.8104, 3.4110)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A701C #1C267A
analogous
#7A411C #7A701C #557A1C
triadic
#7A701C #1C7A70 #701C7A
tetradic
#7A701C #1C7A41 #1C267A #7A1C55
square
#7A701C #1C7A41 #1C267A #7A1C55
split-complementary
#7A701C #1C557A #411C7A
monochromatic
#191706 #484211 #7A701C #AC9E27 #D3C33E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A701C#FFFFFF#000000##FFFFFF
##7A701C1.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)
#7B6C0C
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#846860
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a701c;
/* rgb */ color: rgb(122, 112, 28);
/* oklch */ color: oklch(53.9% 0.102 102.3);
Tailwind
colors: {
  custom: {
    50: '#a4985f',
    500: '#7a701c',
    950: '#000000',
  },
}
SCSS
$custom: #7a701c;
$custom-light: #a4985f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a701c",
  "rgb": {
    "r": 122,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 53.617,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53864,
    "c": 0.10157,
    "h": 102.3
  },
  "luminance": 0.1581
}

Semantic roles & 50–950 ramp

primary
#7A701C
secondary
#444FAE
accent
#53E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A701C

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

Preview Lab → · Contrast checker → · Palette generator →

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