#79831D#79831D

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

Color values

HEX#79831D
RGBrgb(121, 131, 29)
HSLhsl(66, 64%, 31%)
HSVhsv(66, 78%, 51%)
CMYKcmyk(7.6%, 0%, 77.9%, 48.6%)
CIE-LABlab(52.27, -16.92, 49.91)
CIE-LCHlch(52.27, 52.69, 108.72°)
OKLaboklab(58.28% -0.0516 0.1097)
OKLCHoklch(58.28% 0.121 115.2)
XYZxyz(16.2237, 20.3865, 4.2425)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79831D #271D83
analogous
#835A1D #79831D #46831D
triadic
#79831D #1D7983 #831D79
tetradic
#79831D #1D835A #271D83 #831D46
square
#79831D #1D835A #271D83 #831D46
split-complementary
#79831D #1D4683 #5A1D83
monochromatic
#1C1F07 #4B5112 #79831D #A7B528 #C8D645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79831D#FFFFFF#000000##000000
##79831D1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79831d;
/* rgb */ color: rgb(121, 131, 29);
/* oklch */ color: oklch(58.3% 0.121 115.2);
Tailwind
colors: {
  custom: {
    50: '#a3a662',
    500: '#79831d',
    950: '#000000',
  },
}
SCSS
$custom: #79831d;
$custom-light: #a3a662;
$custom-dark: #000000;
JSON
{
  "hex": "#79831d",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 65.882,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58276,
    "c": 0.12122,
    "h": 115.2
  },
  "luminance": 0.20386
}

Semantic roles & 50–950 ramp

primary
#79831D
secondary
#5146B6
accent
#41E751
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79831D

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

Preview Lab → · Contrast checker → · Palette generator →

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