#7D812E#7D812E

#7D812E is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.3% C 0.106 H 111.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7D812E
RGBrgb(125, 129, 46)
HSLhsl(63, 47%, 34%)
HSVhsv(63, 64%, 51%)
CMYKcmyk(3.1%, 0%, 64.3%, 49.4%)
CIE-LABlab(52.13, -13.04, 43.04)
CIE-LCHlch(52.13, 44.98, 106.86°)
OKLaboklab(58.28% -0.0393 0.098)
OKLCHoklch(58.28% 0.106 111.9)
XYZxyz(16.8013, 20.2581, 5.6094)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D812E #322E81
analogous
#815C2E #7D812E #54812E
triadic
#7D812E #2E7D81 #812E7D
tetradic
#7D812E #2E815C #322E81 #812E54
square
#7D812E #2E815C #322E81 #812E54
split-complementary
#7D812E #2E5481 #5C2E81
monochromatic
#26270E #51541E #7D812E #A9AE3E #C2C762

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D812E#FFFFFF#000000##000000
##7D812E1.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)
#8B7B24
Deuteranopia (green-blind)
#8B7D33
Tritanopia (blue-blind)
#857970
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7d812e;
/* rgb */ color: rgb(125, 129, 46);
/* oklch */ color: oklch(58.3% 0.106 111.9);
Tailwind
colors: {
  custom: {
    50: '#a5a56b',
    500: '#7d812e',
    950: '#000000',
  },
}
SCSS
$custom: #7d812e;
$custom-light: #a5a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d812e",
  "rgb": {
    "r": 125,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 62.892,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58281,
    "c": 0.10563,
    "h": 111.9
  },
  "luminance": 0.20258
}

Semantic roles & 50–950 ramp

primary
#7D812E
secondary
#615DAE
accent
#51D757
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #7D812E

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

Preview Lab → · Contrast checker → · Palette generator →

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