#7E711B#7E711B

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

Color values

HEX#7E711B
RGBrgb(126, 113, 27)
HSLhsl(52, 65%, 30%)
HSVhsv(52, 79%, 49%)
CMYKcmyk(0%, 10.3%, 78.6%, 50.6%)
CIE-LABlab(47.40, -4.84, 46.25)
CIE-LCHlch(47.40, 46.50, 95.97°)
OKLaboklab(54.49% -0.0184 0.1013)
OKLCHoklch(54.49% 0.103 100.3)
XYZxyz(14.7079, 16.3257, 3.4132)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E711B #1B287E
analogous
#7E3F1B #7E711B #5A7E1B
triadic
#7E711B #1B7E71 #711B7E
tetradic
#7E711B #1B7E3F #1B287E #7E1B5A
square
#7E711B #1B7E3F #1B287E #7E1B5A
split-complementary
#7E711B #1B5A7E #3F1B7E
monochromatic
#191705 #4C4410 #7E711B #B09E26 #D6C23E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E711B#FFFFFF#000000##FFFFFF
##7E711B1.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)
#7D6E09
Deuteranopia (green-blind)
#807321
Tritanopia (blue-blind)
#886861
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e711b;
/* rgb */ color: rgb(126, 113, 27);
/* oklch */ color: oklch(54.5% 0.103 100.3);
Tailwind
colors: {
  custom: {
    50: '#a7995f',
    500: '#7e711b',
    950: '#000000',
  },
}
SCSS
$custom: #7e711b;
$custom-light: #a7995f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e711b",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 27
  },
  "hsl": {
    "h": 52.121,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.54491,
    "c": 0.10295,
    "h": 100.3
  },
  "luminance": 0.16325
}

Semantic roles & 50–950 ramp

primary
#7E711B
secondary
#4352B2
accent
#56E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E711B

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

Preview Lab → · Contrast checker → · Palette generator →

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