#79831F#79831F

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

Color values

HEX#79831F
RGBrgb(121, 131, 31)
HSLhsl(66, 62%, 32%)
HSVhsv(66, 76%, 51%)
CMYKcmyk(7.6%, 0%, 76.3%, 48.6%)
CIE-LABlab(52.28, -16.82, 49.22)
CIE-LCHlch(52.28, 52.01, 108.87°)
OKLaboklab(58.29% -0.0512 0.1086)
OKLCHoklch(58.29% 0.12 115.3)
XYZxyz(16.2492, 20.3968, 4.3770)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79831F #291F83
analogous
#835B1F #79831F #47831F
triadic
#79831F #1F7983 #831F79
tetradic
#79831F #1F835B #291F83 #831F47
square
#79831F #1F835B #291F83 #831F47
split-complementary
#79831F #1F4783 #5B1F83
monochromatic
#1E2008 #4B5213 #79831F #A7B42B #C6D449

Accessibility & contrast

On white

4.13
#79831F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#79831F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79831F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79831F#FFFFFF#000000##000000
##79831F1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79831f;
/* rgb */ color: rgb(121, 131, 31);
/* oklch */ color: oklch(58.3% 0.120 115.3);
Tailwind
colors: {
  custom: {
    50: '#a3a663',
    500: '#79831f',
    950: '#000000',
  },
}
SCSS
$custom: #79831f;
$custom-light: #a3a663;
$custom-dark: #000000;
JSON
{
  "hex": "#79831f",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 66,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58288,
    "c": 0.12005,
    "h": 115.3
  },
  "luminance": 0.20396
}

Semantic roles & 50–950 ramp

primary
#79831F
secondary
#5348B6
accent
#43E553
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #79831F

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

Preview Lab → · Contrast checker → · Palette generator →

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