#79811C#79811C

#79811C is a mid, moderate yellow. Relative luminance 0.198; 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#79811C
RGBrgb(121, 129, 28)
HSLhsl(65, 64%, 31%)
HSVhsv(65, 78%, 51%)
CMYKcmyk(6.2%, 0%, 78.3%, 49.4%)
CIE-LABlab(51.67, -15.90, 49.69)
CIE-LCHlch(51.67, 52.17, 107.75°)
OKLaboklab(57.79% -0.0489 0.109)
OKLCHoklch(57.79% 0.119 114.2)
XYZxyz(15.9455, 19.8496, 4.0898)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79811C #241C81
analogous
#81561C #79811C #47811C
triadic
#79811C #1C7981 #811C79
tetradic
#79811C #1C8156 #241C81 #811C47
square
#79811C #1C8156 #241C81 #811C47
split-complementary
#79811C #1C4781 #561C81
monochromatic
#1B1C06 #4A4F11 #79811C #A8B327 #CAD642

Accessibility & contrast

On white

4.23
#79811C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##79811C#FFFFFF#000000##000000
##79811C1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79811c;
/* rgb */ color: rgb(121, 129, 28);
/* oklch */ color: oklch(57.8% 0.119 114.2);
Tailwind
colors: {
  custom: {
    50: '#a3a561',
    500: '#79811c',
    950: '#000000',
  },
}
SCSS
$custom: #79811c;
$custom-light: #a3a561;
$custom-dark: #000000;
JSON
{
  "hex": "#79811c",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 64.752,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57789,
    "c": 0.11949,
    "h": 114.2
  },
  "luminance": 0.19849
}

Semantic roles & 50–950 ramp

primary
#79811C
secondary
#4D44B4
accent
#40E74E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79811C

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

Preview Lab → · Contrast checker → · Palette generator →

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