#79811B#79811B

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

Color values

HEX#79811B
RGBrgb(121, 129, 27)
HSLhsl(65, 65%, 31%)
HSVhsv(65, 79%, 51%)
CMYKcmyk(6.2%, 0%, 79.1%, 49.4%)
CIE-LABlab(51.66, -15.95, 50.02)
CIE-LCHlch(51.66, 52.50, 107.69°)
OKLaboklab(57.78% -0.0491 0.1095)
OKLCHoklch(57.78% 0.12 114.2)
XYZxyz(15.9337, 19.8449, 4.0278)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79811B #231B81
analogous
#81561B #79811B #46811B
triadic
#79811B #1B7981 #811B79
tetradic
#79811B #1B8156 #231B81 #811B46
square
#79811B #1B8156 #231B81 #811B46
split-complementary
#79811B #1B4681 #561B81
monochromatic
#1A1C06 #4A4E10 #79811B #A8B426 #CBD73F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #79811b;
/* rgb */ color: rgb(121, 129, 27);
/* oklch */ color: oklch(57.8% 0.120 114.2);
Tailwind
colors: {
  custom: {
    50: '#a3a561',
    500: '#79811b',
    950: '#000000',
  },
}
SCSS
$custom: #79811b;
$custom-light: #a3a561;
$custom-dark: #000000;
JSON
{
  "hex": "#79811b",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 64.706,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57783,
    "c": 0.12005,
    "h": 114.2
  },
  "luminance": 0.19845
}

Semantic roles & 50–950 ramp

primary
#79811B
secondary
#4C43B5
accent
#3FE84D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79811B

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

Preview Lab → · Contrast checker → · Palette generator →

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