#79802F#79802F

#79802F 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#79802F
RGBrgb(121, 128, 47)
HSLhsl(65, 46%, 34%)
HSVhsv(65, 63%, 50%)
CMYKcmyk(5.5%, 0%, 63.3%, 49.8%)
CIE-LABlab(51.51, -14.22, 41.82)
CIE-LCHlch(51.51, 44.17, 108.78°)
OKLaboklab(57.7% -0.0423 0.0957)
OKLCHoklch(57.7% 0.105 113.8)
XYZxyz(16.1178, 19.7088, 5.6439)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79802F #362F80
analogous
#805F2F #79802F #51802F
triadic
#79802F #2F7980 #802F79
tetradic
#79802F #2F805F #362F80 #802F51
square
#79802F #2F805F #362F80 #802F51
split-complementary
#79802F #2F5180 #5F2F80
monochromatic
#24260E #4F531F #79802F #A3AD3F #BDC663

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79802F#FFFFFF#000000##000000
##79802F1.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)
#897A25
Deuteranopia (green-blind)
#897C34
Tritanopia (blue-blind)
#81796F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #79802f;
/* rgb */ color: rgb(121, 128, 47);
/* oklch */ color: oklch(57.7% 0.105 113.8);
Tailwind
colors: {
  custom: {
    50: '#a2a46b',
    500: '#79802f',
    950: '#000000',
  },
}
SCSS
$custom: #79802f;
$custom-light: #a2a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#79802f",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 65.185,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57704,
    "c": 0.10461,
    "h": 113.8
  },
  "luminance": 0.19709
}

Semantic roles & 50–950 ramp

primary
#79802F
secondary
#655EAD
accent
#52D65D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #79802F

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

Preview Lab → · Contrast checker → · Palette generator →

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