#79811A#79811A

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

Color values

HEX#79811A
RGBrgb(121, 129, 26)
HSLhsl(65, 66%, 30%)
HSVhsv(65, 80%, 51%)
CMYKcmyk(6.2%, 0%, 79.8%, 49.4%)
CIE-LABlab(51.66, -15.99, 50.34)
CIE-LCHlch(51.66, 52.82, 107.62°)
OKLaboklab(57.78% -0.0494 0.11)
OKLCHoklch(57.78% 0.121 114.2)
XYZxyz(15.9224, 19.8404, 3.9679)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79811A #221A81
analogous
#81551A #79811A #45811A
triadic
#79811A #1A7981 #811A79
tetradic
#79811A #1A8155 #221A81 #811A45
square
#79811A #1A8155 #221A81 #811A45
split-complementary
#79811A #1A4581 #551A81
monochromatic
#191B05 #494E10 #79811A #A9B424 #CCD83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #79811a;
/* rgb */ color: rgb(121, 129, 26);
/* oklch */ color: oklch(57.8% 0.121 114.2);
Tailwind
colors: {
  custom: {
    50: '#a3a560',
    500: '#79811a',
    950: '#000000',
  },
}
SCSS
$custom: #79811a;
$custom-light: #a3a560;
$custom-dark: #000000;
JSON
{
  "hex": "#79811a",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 64.66,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57777,
    "c": 0.12059,
    "h": 114.2
  },
  "luminance": 0.1984
}

Semantic roles & 50–950 ramp

primary
#79811A
secondary
#4B42B5
accent
#3EE94C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79811A

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

Preview Lab → · Contrast checker → · Palette generator →

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