#79812E#79812E

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

Color values

HEX#79812E
RGBrgb(121, 129, 46)
HSLhsl(66, 47%, 34%)
HSVhsv(66, 64%, 51%)
CMYKcmyk(6.2%, 0%, 64.3%, 49.4%)
CIE-LABlab(51.80, -14.83, 42.59)
CIE-LCHlch(51.80, 45.10, 109.20°)
OKLaboklab(57.93% -0.0441 0.0972)
OKLCHoklch(57.93% 0.107 114.4)
XYZxyz(16.2289, 19.9630, 5.5826)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79812E #362E81
analogous
#81602E #79812E #50812E
triadic
#79812E #2E7981 #812E79
tetradic
#79812E #2E8160 #362E81 #812E50
square
#79812E #2E8160 #362E81 #812E50
split-complementary
#79812E #2E5081 #602E81
monochromatic
#24270E #4F541E #79812E #A3AE3E #BDC762

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79812E#FFFFFF#000000##000000
##79812E1.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)
#8A7B24
Deuteranopia (green-blind)
#8A7C33
Tritanopia (blue-blind)
#817A70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #79812e;
/* rgb */ color: rgb(121, 129, 46);
/* oklch */ color: oklch(57.9% 0.107 114.4);
Tailwind
colors: {
  custom: {
    50: '#a2a56b',
    500: '#79812e',
    950: '#000000',
  },
}
SCSS
$custom: #79812e;
$custom-light: #a2a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#79812e",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 65.783,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57933,
    "c": 0.10671,
    "h": 114.4
  },
  "luminance": 0.19963
}

Semantic roles & 50–950 ramp

primary
#79812E
secondary
#655DAE
accent
#51D75E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #79812E

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

Preview Lab → · Contrast checker → · Palette generator →

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