#7E811D#7E811D

#7E811D is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.2% C 0.117 H 111.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7E811D
RGBrgb(126, 129, 29)
HSLhsl(62, 63%, 31%)
HSVhsv(62, 78%, 51%)
CMYKcmyk(2.3%, 0%, 77.5%, 49.4%)
CIE-LABlab(52.09, -13.58, 49.89)
CIE-LCHlch(52.09, 51.70, 105.23°)
OKLaboklab(58.23% -0.0427 0.1094)
OKLCHoklch(58.23% 0.117 111.3)
XYZxyz(16.6768, 20.2253, 4.1875)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E811D #201D81
analogous
#81521D #7E811D #4C811D
triadic
#7E811D #1D7E81 #811D7E
tetradic
#7E811D #1D8152 #201D81 #811D4C
square
#7E811D #1D8152 #201D81 #811D4C
split-complementary
#7E811D #1D4C81 #521D81
monochromatic
#1C1D07 #4D4F12 #7E811D #AFB328 #D0D544

Accessibility & contrast

On white

4.16
#7E811D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#7E811D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E811D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E811D#FFFFFF#000000##000000
##7E811D1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B05
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#87796E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e811d;
/* rgb */ color: rgb(126, 129, 29);
/* oklch */ color: oklch(58.2% 0.117 111.3);
Tailwind
colors: {
  custom: {
    50: '#a7a562',
    500: '#7e811d',
    950: '#000000',
  },
}
SCSS
$custom: #7e811d;
$custom-light: #a7a562;
$custom-dark: #000000;
JSON
{
  "hex": "#7e811d",
  "rgb": {
    "r": 126,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 61.8,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58233,
    "c": 0.11747,
    "h": 111.3
  },
  "luminance": 0.20225
}

Semantic roles & 50–950 ramp

primary
#7E811D
secondary
#4946B4
accent
#41E646
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7E811D

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

Preview Lab → · Contrast checker → · Palette generator →

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