#79811E#79811E

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

Color values

HEX#79811E
RGBrgb(121, 129, 30)
HSLhsl(65, 62%, 31%)
HSVhsv(65, 77%, 51%)
CMYKcmyk(6.2%, 0%, 76.7%, 49.4%)
CIE-LABlab(51.68, -15.81, 49.00)
CIE-LCHlch(51.68, 51.49, 107.88°)
OKLaboklab(57.8% -0.0485 0.1079)
OKLCHoklch(57.8% 0.118 114.2)
XYZxyz(15.9702, 19.8595, 4.2200)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79811E #261E81
analogous
#81571E #79811E #47811E
triadic
#79811E #1E7981 #811E79
tetradic
#79811E #1E8157 #261E81 #811E47
square
#79811E #1E8157 #261E81 #811E47
split-complementary
#79811E #1E4781 #571E81
monochromatic
#1C1E07 #4A4F12 #79811E #A8B32A #C8D446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79811E#FFFFFF#000000##000000
##79811E1.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)
#8B7A08
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#81796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #79811e;
/* rgb */ color: rgb(121, 129, 30);
/* oklch */ color: oklch(57.8% 0.118 114.2);
Tailwind
colors: {
  custom: {
    50: '#a3a562',
    500: '#79811e',
    950: '#000000',
  },
}
SCSS
$custom: #79811e;
$custom-light: #a3a562;
$custom-dark: #000000;
JSON
{
  "hex": "#79811e",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 64.848,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57801,
    "c": 0.11834,
    "h": 114.2
  },
  "luminance": 0.19859
}

Semantic roles & 50–950 ramp

primary
#79811E
secondary
#5047B4
accent
#42E550
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79811E

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

Preview Lab → · Contrast checker → · Palette generator →

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