#79812A#79812A

#79812A is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.9% C 0.110 H 114.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#79812A
RGBrgb(121, 129, 42)
HSLhsl(66, 51%, 34%)
HSVhsv(66, 67%, 51%)
CMYKcmyk(6.2%, 0%, 67.4%, 49.4%)
CIE-LABlab(51.76, -15.12, 44.33)
CIE-LCHlch(51.76, 46.84, 108.83°)
OKLaboklab(57.9% -0.0453 0.1002)
OKLCHoklch(57.9% 0.11 114.3)
XYZxyz(16.1537, 19.9329, 5.1865)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79812A #322A81
analogous
#815D2A #79812A #4D812A
triadic
#79812A #2A7981 #812A79
tetradic
#79812A #2A815D #322A81 #812A4D
square
#79812A #2A815D #322A81 #812A4D
split-complementary
#79812A #2A4D81 #5D2A81
monochromatic
#22250C #4E531B #79812A #A4AF39 #C0CA5C

Accessibility & contrast

On white

4.21
#79812A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#79812A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79812A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79812A#FFFFFF#000000##000000
##79812A1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B1E
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#81796F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #79812a;
/* rgb */ color: rgb(121, 129, 42);
/* oklch */ color: oklch(57.9% 0.110 114.3);
Tailwind
colors: {
  custom: {
    50: '#a2a569',
    500: '#79812a',
    950: '#000000',
  },
}
SCSS
$custom: #79812a;
$custom-light: #a2a569;
$custom-dark: #000000;
JSON
{
  "hex": "#79812a",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 65.517,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57895,
    "c": 0.11,
    "h": 114.3
  },
  "luminance": 0.19933
}

Semantic roles & 50–950 ramp

primary
#79812A
secondary
#5F57AF
accent
#4DDA5A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #79812A

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

Preview Lab → · Contrast checker → · Palette generator →

#79812A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva