#79811D#79811D

#79811D is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.119 H 114.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#79811D
RGBrgb(121, 129, 29)
HSLhsl(65, 63%, 31%)
HSVhsv(65, 78%, 51%)
CMYKcmyk(6.2%, 0%, 77.5%, 49.4%)
CIE-LABlab(51.67, -15.86, 49.35)
CIE-LCHlch(51.67, 51.83, 107.81°)
OKLaboklab(57.79% -0.0487 0.1085)
OKLCHoklch(57.79% 0.119 114.2)
XYZxyz(15.9577, 19.8545, 4.1538)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79811D #251D81
analogous
#81571D #79811D #47811D
triadic
#79811D #1D7981 #811D79
tetradic
#79811D #1D8157 #251D81 #811D47
square
#79811D #1D8157 #251D81 #811D47
split-complementary
#79811D #1D4781 #571D81
monochromatic
#1B1D07 #4A4F12 #79811D #A8B328 #C9D544

Accessibility & contrast

On white

4.22
#79811D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#79811D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79811D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79811D#FFFFFF#000000##000000
##79811D1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A05
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#81796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #79811d;
/* rgb */ color: rgb(121, 129, 29);
/* oklch */ color: oklch(57.8% 0.119 114.2);
Tailwind
colors: {
  custom: {
    50: '#a3a562',
    500: '#79811d',
    950: '#000000',
  },
}
SCSS
$custom: #79811d;
$custom-light: #a3a562;
$custom-dark: #000000;
JSON
{
  "hex": "#79811d",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 64.8,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57795,
    "c": 0.11893,
    "h": 114.2
  },
  "luminance": 0.19854
}

Semantic roles & 50–950 ramp

primary
#79811D
secondary
#4E46B4
accent
#41E64F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79811D

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

Preview Lab → · Contrast checker → · Palette generator →

#79811D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva