#7E711F#7E711F

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

Color values

HEX#7E711F
RGBrgb(126, 113, 31)
HSLhsl(52, 61%, 31%)
HSVhsv(52, 75%, 49%)
CMYKcmyk(0%, 10.3%, 75.4%, 50.6%)
CIE-LABlab(47.42, -4.65, 44.73)
CIE-LCHlch(47.42, 44.97, 95.93°)
OKLaboklab(54.52% -0.0174 0.0989)
OKLCHoklch(54.52% 0.1 100)
XYZxyz(14.7573, 16.3455, 3.6737)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E711F #1F2C7E
analogous
#7E411F #7E711F #5B7E1F
triadic
#7E711F #1F7E71 #711F7E
tetradic
#7E711F #1F7E41 #1F2C7E #7E1F5B
square
#7E711F #1F7E41 #1F2C7E #7E1F5B
split-complementary
#7E711F #1F5B7E #411F7E
monochromatic
#1C1907 #4D4513 #7E711F #AF9D2B #D1BE46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E711F#FFFFFF#000000##FFFFFF
##7E711F1.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)
#7C6E11
Deuteranopia (green-blind)
#807324
Tritanopia (blue-blind)
#886861
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e711f;
/* rgb */ color: rgb(126, 113, 31);
/* oklch */ color: oklch(54.5% 0.100 100.0);
Tailwind
colors: {
  custom: {
    50: '#a79961',
    500: '#7e711f',
    950: '#000000',
  },
}
SCSS
$custom: #7e711f;
$custom-light: #a79961;
$custom-dark: #000000;
JSON
{
  "hex": "#7e711f",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 51.789,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54519,
    "c": 0.10041,
    "h": 100
  },
  "luminance": 0.16345
}

Semantic roles & 50–950 ramp

primary
#7E711F
secondary
#4856B1
accent
#5AE444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E711F

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

Preview Lab → · Contrast checker → · Palette generator →

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