#7E701D#7E701D

#7E701D is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.3% C 0.101 H 99.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7E701D
RGBrgb(126, 112, 29)
HSLhsl(51, 63%, 30%)
HSVhsv(51, 77%, 49%)
CMYKcmyk(0%, 11.1%, 77%, 50.6%)
CIE-LABlab(47.12, -4.18, 45.23)
CIE-LCHlch(47.12, 45.42, 95.28°)
OKLaboklab(54.28% -0.0163 0.0996)
OKLCHoklch(54.28% 0.101 99.3)
XYZxyz(14.6208, 16.1134, 3.5022)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E701D #1D2B7E
analogous
#7E3F1D #7E701D #5B7E1D
triadic
#7E701D #1D7E70 #701D7E
tetradic
#7E701D #1D7E3F #1D2B7E #7E1D5B
square
#7E701D #1D7E3F #1D2B7E #7E1D5B
split-complementary
#7E701D #1D5B7E #3F1D7E
monochromatic
#1B1806 #4C4412 #7E701D #B09C28 #D3BE42

Accessibility & contrast

On white

4.97
#7E701D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7E701D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E701D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E701D#FFFFFF#000000##FFFFFF
##7E701D1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D0E
Deuteranopia (green-blind)
#7F7222
Tritanopia (blue-blind)
#886760
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e701d;
/* rgb */ color: rgb(126, 112, 29);
/* oklch */ color: oklch(54.3% 0.101 99.3);
Tailwind
colors: {
  custom: {
    50: '#a79860',
    500: '#7e701d',
    950: '#000000',
  },
}
SCSS
$custom: #7e701d;
$custom-light: #a79860;
$custom-dark: #000000;
JSON
{
  "hex": "#7e701d",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 29
  },
  "hsl": {
    "h": 51.34,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54276,
    "c": 0.10087,
    "h": 99.3
  },
  "luminance": 0.16113
}

Semantic roles & 50–950 ramp

primary
#7E701D
secondary
#4555B1
accent
#5AE642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E701D

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

Preview Lab → · Contrast checker → · Palette generator →

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