#79802A#79802A

#79802A is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.7% C 0.109 H 113.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#79802A
RGBrgb(121, 128, 42)
HSLhsl(65, 51%, 33%)
HSVhsv(65, 67%, 50%)
CMYKcmyk(5.5%, 0%, 67.2%, 49.8%)
CIE-LABlab(51.46, -14.58, 44.02)
CIE-LCHlch(51.46, 46.37, 108.33°)
OKLaboklab(57.66% -0.0438 0.0996)
OKLCHoklch(57.66% 0.109 113.8)
XYZxyz(16.0227, 19.6708, 5.1428)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79802A #312A80
analogous
#805C2A #79802A #4E802A
triadic
#79802A #2A7980 #802A79
tetradic
#79802A #2A805C #312A80 #802A4E
square
#79802A #2A805C #312A80 #802A4E
split-complementary
#79802A #2A4E80 #5C2A80
monochromatic
#22240C #4D521B #79802A #A5AE39 #C0C95B

Accessibility & contrast

On white

4.26
#79802A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#79802A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79802A
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79802A#FFFFFF#000000##000000
##79802A1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A1E
Deuteranopia (green-blind)
#897C30
Tritanopia (blue-blind)
#81786E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #79802a;
/* rgb */ color: rgb(121, 128, 42);
/* oklch */ color: oklch(57.7% 0.109 113.8);
Tailwind
colors: {
  custom: {
    50: '#a2a468',
    500: '#79802a',
    950: '#000000',
  },
}
SCSS
$custom: #79802a;
$custom-light: #a2a468;
$custom-dark: #000000;
JSON
{
  "hex": "#79802a",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 64.884,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57656,
    "c": 0.10879,
    "h": 113.8
  },
  "luminance": 0.1967
}

Semantic roles & 50–950 ramp

primary
#79802A
secondary
#5E57AF
accent
#4EDA59
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #79802A

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

Preview Lab → · Contrast checker → · Palette generator →

#79802A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva