#79831B#79831B

#79831B 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#79831B
RGBrgb(121, 131, 27)
HSLhsl(66, 66%, 31%)
HSVhsv(66, 79%, 51%)
CMYKcmyk(7.6%, 0%, 79.4%, 48.6%)
CIE-LABlab(52.26, -17.01, 50.57)
CIE-LCHlch(52.26, 53.35, 108.59°)
OKLaboklab(58.26% -0.0521 0.1107)
OKLCHoklch(58.26% 0.122 115.2)
XYZxyz(16.1998, 20.3770, 4.1165)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79831B #251B83
analogous
#83591B #79831B #45831B
triadic
#79831B #1B7983 #831B79
tetradic
#79831B #1B8359 #251B83 #831B45
square
#79831B #1B8359 #251B83 #831B45
split-complementary
#79831B #1B4583 #591B83
monochromatic
#1B1E06 #4A5011 #79831B #A8B625 #C9D841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #79831b;
/* rgb */ color: rgb(121, 131, 27);
/* oklch */ color: oklch(58.3% 0.122 115.2);
Tailwind
colors: {
  custom: {
    50: '#a3a661',
    500: '#79831b',
    950: '#000000',
  },
}
SCSS
$custom: #79831b;
$custom-light: #a3a661;
$custom-dark: #000000;
JSON
{
  "hex": "#79831b",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 65.769,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.12233,
    "h": 115.2
  },
  "luminance": 0.20377
}

Semantic roles & 50–950 ramp

primary
#79831B
secondary
#4E43B6
accent
#3FE94F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79831B

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

Preview Lab → · Contrast checker → · Palette generator →

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