#7D701E#7D701E

#7D701E is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.2% C 0.100 H 100.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7D701E
RGBrgb(125, 112, 30)
HSLhsl(52, 61%, 30%)
HSVhsv(52, 76%, 49%)
CMYKcmyk(0%, 10.4%, 76%, 51%)
CIE-LABlab(47.03, -4.60, 44.71)
CIE-LCHlch(47.03, 44.95, 95.87°)
OKLaboklab(54.18% -0.0173 0.0987)
OKLCHoklch(54.18% 0.1 100)
XYZxyz(14.4866, 16.0427, 3.5615)
Luminance0.1604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D701E #1E2B7D
analogous
#7D401E #7D701E #5B7D1E
triadic
#7D701E #1E7D70 #701E7D
tetradic
#7D701E #1E7D40 #1E2B7D #7D1E5B
square
#7D701E #1E7D40 #1E2B7D #7D1E5B
split-complementary
#7D701E #1E5B7D #401E7D
monochromatic
#1A1806 #4C4412 #7D701E #AE9C2A #D2BE43

Accessibility & contrast

On white

4.99
#7D701E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7D701E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D701E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D701E#FFFFFF#000000##FFFFFF
##7D701E1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D10
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#876760
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d701e;
/* rgb */ color: rgb(125, 112, 30);
/* oklch */ color: oklch(54.2% 0.100 100.0);
Tailwind
colors: {
  custom: {
    50: '#a69860',
    500: '#7d701e',
    950: '#000000',
  },
}
SCSS
$custom: #7d701e;
$custom-light: #a69860;
$custom-dark: #000000;
JSON
{
  "hex": "#7d701e",
  "rgb": {
    "r": 125,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 51.789,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54181,
    "c": 0.10021,
    "h": 100
  },
  "luminance": 0.16042
}

Semantic roles & 50–950 ramp

primary
#7D701E
secondary
#4655B0
accent
#59E443
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D701E

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

Preview Lab → · Contrast checker → · Palette generator →

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