#7C701D#7C701D

#7C701D is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.1% C 0.101 H 100.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7C701D
RGBrgb(124, 112, 29)
HSLhsl(52, 62%, 30%)
HSVhsv(52, 77%, 49%)
CMYKcmyk(0%, 9.7%, 76.6%, 51.4%)
CIE-LABlab(46.93, -5.12, 44.97)
CIE-LCHlch(46.93, 45.26, 96.50°)
OKLaboklab(54.07% -0.0188 0.0991)
OKLCHoklch(54.07% 0.101 100.8)
XYZxyz(14.3288, 15.9628, 3.4885)
Luminance0.1596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C701D #1D297C
analogous
#7C401D #7C701D #597C1D
triadic
#7C701D #1D7C70 #701D7C
tetradic
#7C701D #1D7C40 #1D297C #7C1D59
square
#7C701D #1D7C40 #1D297C #7C1D59
split-complementary
#7C701D #1D597C #401D7C
monochromatic
#191606 #4A4311 #7C701D #AE9D29 #D3C041

Accessibility & contrast

On white

5.01
#7C701D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7C701D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C701D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C701D#FFFFFF#000000##FFFFFF
##7C701D1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D0E
Deuteranopia (green-blind)
#7F7123
Tritanopia (blue-blind)
#866760
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7c701d;
/* rgb */ color: rgb(124, 112, 29);
/* oklch */ color: oklch(54.1% 0.101 100.8);
Tailwind
colors: {
  custom: {
    50: '#a59860',
    500: '#7c701d',
    950: '#000000',
  },
}
SCSS
$custom: #7c701d;
$custom-light: #a59860;
$custom-dark: #000000;
JSON
{
  "hex": "#7c701d",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 29
  },
  "hsl": {
    "h": 52.421,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.54072,
    "c": 0.10087,
    "h": 100.8
  },
  "luminance": 0.15962
}

Semantic roles & 50–950 ramp

primary
#7C701D
secondary
#4553B0
accent
#57E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7C701D

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

Preview Lab → · Contrast checker → · Palette generator →

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