#7E711A#7E711A

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

Color values

HEX#7E711A
RGBrgb(126, 113, 26)
HSLhsl(52, 66%, 30%)
HSVhsv(52, 79%, 49%)
CMYKcmyk(0%, 10.3%, 79.4%, 50.6%)
CIE-LABlab(47.39, -4.88, 46.61)
CIE-LCHlch(47.39, 46.86, 95.98°)
OKLaboklab(54.48% -0.0186 0.1019)
OKLCHoklch(54.48% 0.104 100.3)
XYZxyz(14.6965, 16.3212, 3.3533)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E711A #1A277E
analogous
#7E3F1A #7E711A #597E1A
triadic
#7E711A #1A7E71 #711A7E
tetradic
#7E711A #1A7E3F #1A277E #7E1A59
square
#7E711A #1A7E3F #1A277E #7E1A59
split-complementary
#7E711A #1A597E #3F1A7E
monochromatic
#191705 #4B4410 #7E711A #B19E24 #D7C33C

Accessibility & contrast

On white

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

On black

4.26
#7E711A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E711A#FFFFFF#000000##FFFFFF
##7E711A1.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e711a;
/* rgb */ color: rgb(126, 113, 26);
/* oklch */ color: oklch(54.5% 0.104 100.3);
Tailwind
colors: {
  custom: {
    50: '#a7995e',
    500: '#7e711a',
    950: '#000000',
  },
}
SCSS
$custom: #7e711a;
$custom-light: #a7995e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e711a",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 26
  },
  "hsl": {
    "h": 52.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54484,
    "c": 0.10354,
    "h": 100.3
  },
  "luminance": 0.1632
}

Semantic roles & 50–950 ramp

primary
#7E711A
secondary
#4250B2
accent
#55E93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E711A

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

Preview Lab → · Contrast checker → · Palette generator →

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