#79831A#79831A

#79831A is a mid, vivid yellow. Relative luminance 0.204; OKLCH L 58.3% C 0.123 H 115.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#79831A
RGBrgb(121, 131, 26)
HSLhsl(66, 67%, 31%)
HSVhsv(66, 80%, 51%)
CMYKcmyk(7.6%, 0%, 80.2%, 48.6%)
CIE-LABlab(52.26, -17.05, 50.88)
CIE-LCHlch(52.26, 53.66, 108.52°)
OKLaboklab(58.26% -0.0523 0.1112)
OKLCHoklch(58.26% 0.123 115.2)
XYZxyz(16.1884, 20.3724, 4.0566)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79831A #241A83
analogous
#83581A #79831A #44831A
triadic
#79831A #1A7983 #831A79
tetradic
#79831A #1A8358 #241A83 #831A44
square
#79831A #1A8358 #241A83 #831A44
split-complementary
#79831A #1A4483 #581A83
monochromatic
#1B1D06 #4A5010 #79831A #A8B624 #CAD93F

Accessibility & contrast

On white

4.14
#79831A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#79831A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79831A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79831A#FFFFFF#000000##000000
##79831A1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#817B70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #79831a;
/* rgb */ color: rgb(121, 131, 26);
/* oklch */ color: oklch(58.3% 0.123 115.2);
Tailwind
colors: {
  custom: {
    50: '#a3a661',
    500: '#79831a',
    950: '#000000',
  },
}
SCSS
$custom: #79831a;
$custom-light: #a3a661;
$custom-dark: #000000;
JSON
{
  "hex": "#79831a",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 65.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58258,
    "c": 0.12286,
    "h": 115.2
  },
  "luminance": 0.20372
}

Semantic roles & 50–950 ramp

primary
#79831A
secondary
#4D42B7
accent
#3EEA4E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79831A

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

Preview Lab → · Contrast checker → · Palette generator →

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