#79802E#79802E

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

Color values

HEX#79802E
RGBrgb(121, 128, 46)
HSLhsl(65, 47%, 34%)
HSVhsv(65, 64%, 50%)
CMYKcmyk(5.5%, 0%, 64.1%, 49.8%)
CIE-LABlab(51.50, -14.30, 42.27)
CIE-LCHlch(51.50, 44.62, 108.69°)
OKLaboklab(57.69% -0.0426 0.0965)
OKLCHoklch(57.69% 0.105 113.8)
XYZxyz(16.0979, 19.7008, 5.5389)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79802E #352E80
analogous
#805E2E #79802E #50802E
triadic
#79802E #2E7980 #802E79
tetradic
#79802E #2E805E #352E80 #802E50
square
#79802E #2E805E #352E80 #802E50
split-complementary
#79802E #2E5080 #5E2E80
monochromatic
#24260E #4E531E #79802E #A4AD3E #BEC762

Accessibility & contrast

On white

4.25
#79802E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#79802E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79802E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79802E#FFFFFF#000000##000000
##79802E1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A24
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#81796F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #79802e;
/* rgb */ color: rgb(121, 128, 46);
/* oklch */ color: oklch(57.7% 0.105 113.8);
Tailwind
colors: {
  custom: {
    50: '#a2a46b',
    500: '#79802e',
    950: '#000000',
  },
}
SCSS
$custom: #79802e;
$custom-light: #a2a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#79802e",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 65.122,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57694,
    "c": 0.10548,
    "h": 113.8
  },
  "luminance": 0.19701
}

Semantic roles & 50–950 ramp

primary
#79802E
secondary
#635DAD
accent
#51D75C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #79802E

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

Preview Lab → · Contrast checker → · Palette generator →

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