#7E711D#7E711D

#7E711D is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.5% C 0.102 H 100.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7E711D
RGBrgb(126, 113, 29)
HSLhsl(52, 63%, 30%)
HSVhsv(52, 77%, 49%)
CMYKcmyk(0%, 10.3%, 77%, 50.6%)
CIE-LABlab(47.41, -4.74, 45.50)
CIE-LCHlch(47.41, 45.75, 95.95°)
OKLaboklab(54.5% -0.0179 0.1001)
OKLCHoklch(54.5% 0.102 100.1)
XYZxyz(14.7318, 16.3353, 3.5392)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E711D #1D2A7E
analogous
#7E401D #7E711D #5A7E1D
triadic
#7E711D #1D7E71 #711D7E
tetradic
#7E711D #1D7E40 #1D2A7E #7E1D5A
square
#7E711D #1D7E40 #1D2A7E #7E1D5A
split-complementary
#7E711D #1D5A7E #401D7E
monochromatic
#1B1806 #4C4412 #7E711D #B09E28 #D3C042

Accessibility & contrast

On white

4.92
#7E711D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7E711D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E711D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E711D#FFFFFF#000000##FFFFFF
##7E711D1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E0D
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#886861
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e711d;
/* rgb */ color: rgb(126, 113, 29);
/* oklch */ color: oklch(54.5% 0.102 100.1);
Tailwind
colors: {
  custom: {
    50: '#a79960',
    500: '#7e711d',
    950: '#000000',
  },
}
SCSS
$custom: #7e711d;
$custom-light: #a79960;
$custom-dark: #000000;
JSON
{
  "hex": "#7e711d",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 29
  },
  "hsl": {
    "h": 51.959,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.10172,
    "h": 100.1
  },
  "luminance": 0.16335
}

Semantic roles & 50–950 ramp

primary
#7E711D
secondary
#4554B1
accent
#58E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E711D

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

Preview Lab → · Contrast checker → · Palette generator →

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