#79821E#79821E

#79821E is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.0% C 0.119 H 114.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#79821E
RGBrgb(121, 130, 30)
HSLhsl(65, 63%, 31%)
HSVhsv(65, 77%, 51%)
CMYKcmyk(6.9%, 0%, 76.9%, 49%)
CIE-LABlab(51.98, -16.34, 49.28)
CIE-LCHlch(51.98, 51.92, 108.34°)
OKLaboklab(58.04% -0.05 0.1085)
OKLCHoklch(58.04% 0.119 114.7)
XYZxyz(16.1026, 20.1242, 4.2641)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79821E #271E82
analogous
#82591E #79821E #47821E
triadic
#79821E #1E7982 #821E79
tetradic
#79821E #1E8259 #271E82 #821E47
square
#79821E #1E8259 #271E82 #821E47
split-complementary
#79821E #1E4782 #591E82
monochromatic
#1C1F07 #4B5013 #79821E #A7B429 #C8D446

Accessibility & contrast

On white

4.18
#79821E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#79821E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79821E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79821E#FFFFFF#000000##000000
##79821E1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B07
Deuteranopia (green-blind)
#8B7D27
Tritanopia (blue-blind)
#817A6F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #79821e;
/* rgb */ color: rgb(121, 130, 30);
/* oklch */ color: oklch(58.0% 0.119 114.7);
Tailwind
colors: {
  custom: {
    50: '#a3a662',
    500: '#79821e',
    950: '#000000',
  },
}
SCSS
$custom: #79821e;
$custom-light: #a3a662;
$custom-dark: #000000;
JSON
{
  "hex": "#79821e",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 65.4,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58041,
    "c": 0.11949,
    "h": 114.7
  },
  "luminance": 0.20124
}

Semantic roles & 50–950 ramp

primary
#79821E
secondary
#5147B5
accent
#42E651
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #79821E

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

Preview Lab → · Contrast checker → · Palette generator →

#79821E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva