#79831C#79831C

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

Color values

HEX#79831C
RGBrgb(121, 131, 28)
HSLhsl(66, 65%, 31%)
HSVhsv(66, 79%, 51%)
CMYKcmyk(7.6%, 0%, 78.6%, 48.6%)
CIE-LABlab(52.27, -16.96, 50.24)
CIE-LCHlch(52.27, 53.03, 108.66°)
OKLaboklab(58.27% -0.0519 0.1102)
OKLCHoklch(58.27% 0.122 115.2)
XYZxyz(16.2115, 20.3817, 4.1784)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79831C #261C83
analogous
#83591C #79831C #45831C
triadic
#79831C #1C7983 #831C79
tetradic
#79831C #1C8359 #261C83 #831C45
square
#79831C #1C8359 #261C83 #831C45
split-complementary
#79831C #1C4583 #591C83
monochromatic
#1C1E06 #4A5111 #79831C #A8B527 #C8D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79831C#FFFFFF#000000##000000
##79831C1.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)
#8D7C02
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#817B70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #79831c;
/* rgb */ color: rgb(121, 131, 28);
/* oklch */ color: oklch(58.3% 0.122 115.2);
Tailwind
colors: {
  custom: {
    50: '#a3a662',
    500: '#79831c',
    950: '#000000',
  },
}
SCSS
$custom: #79831c;
$custom-light: #a3a662;
$custom-dark: #000000;
JSON
{
  "hex": "#79831c",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 65.825,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58269,
    "c": 0.12179,
    "h": 115.2
  },
  "luminance": 0.20381
}

Semantic roles & 50–950 ramp

primary
#79831C
secondary
#5045B6
accent
#40E850
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79831C

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

Preview Lab → · Contrast checker → · Palette generator →

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