#7D811E#7D811E

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

Color values

HEX#7D811E
RGBrgb(125, 129, 30)
HSLhsl(62, 62%, 31%)
HSVhsv(62, 77%, 51%)
CMYKcmyk(3.1%, 0%, 76.7%, 49.4%)
CIE-LABlab(52.01, -13.99, 49.43)
CIE-LCHlch(52.01, 51.38, 105.80°)
OKLaboklab(58.15% -0.0437 0.1087)
OKLCHoklch(58.15% 0.117 111.9)
XYZxyz(16.5426, 20.1546, 4.2469)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D811E #221E81
analogous
#81531E #7D811E #4B811E
triadic
#7D811E #1E7D81 #811E7D
tetradic
#7D811E #1E8153 #221E81 #811E4B
square
#7D811E #1E8153 #221E81 #811E4B
split-complementary
#7D811E #1E4B81 #531E81
monochromatic
#1D1E07 #4D4F12 #7D811E #ADB32A #CED446

Accessibility & contrast

On white

4.17
#7D811E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#7D811E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D811E
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D811E#FFFFFF#000000##000000
##7D811E1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B08
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#86796E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7d811e;
/* rgb */ color: rgb(125, 129, 30);
/* oklch */ color: oklch(58.2% 0.117 111.9);
Tailwind
colors: {
  custom: {
    50: '#a6a562',
    500: '#7d811e',
    950: '#000000',
  },
}
SCSS
$custom: #7d811e;
$custom-light: #a6a562;
$custom-dark: #000000;
JSON
{
  "hex": "#7d811e",
  "rgb": {
    "r": 125,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 62.424,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58151,
    "c": 0.11715,
    "h": 111.9
  },
  "luminance": 0.20154
}

Semantic roles & 50–950 ramp

primary
#7D811E
secondary
#4B47B4
accent
#42E549
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7D811E

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

Preview Lab → · Contrast checker → · Palette generator →

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