#79802B#79802B

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

Color values

HEX#79802B
RGBrgb(121, 128, 43)
HSLhsl(65, 50%, 34%)
HSVhsv(65, 66%, 50%)
CMYKcmyk(5.5%, 0%, 66.4%, 49.8%)
CIE-LABlab(51.47, -14.51, 43.59)
CIE-LCHlch(51.47, 45.94, 108.41°)
OKLaboklab(57.67% -0.0435 0.0988)
OKLCHoklch(57.67% 0.108 113.8)
XYZxyz(16.0408, 19.6780, 5.2383)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79802B #322B80
analogous
#805C2B #79802B #4E802B
triadic
#79802B #2B7980 #802B79
tetradic
#79802B #2B805C #322B80 #802B4E
square
#79802B #2B805C #322B80 #802B4E
split-complementary
#79802B #2B4E80 #5C2B80
monochromatic
#22240C #4E521C #79802B #A4AE3A #C0C95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79802B#FFFFFF#000000##000000
##79802B1.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)
#897A20
Deuteranopia (green-blind)
#897C31
Tritanopia (blue-blind)
#81786F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #79802b;
/* rgb */ color: rgb(121, 128, 43);
/* oklch */ color: oklch(57.7% 0.108 113.8);
Tailwind
colors: {
  custom: {
    50: '#a2a469',
    500: '#79802b',
    950: '#000000',
  },
}
SCSS
$custom: #79802b;
$custom-light: #a2a469;
$custom-dark: #000000;
JSON
{
  "hex": "#79802b",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 64.941,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57665,
    "c": 0.10799,
    "h": 113.8
  },
  "luminance": 0.19678
}

Semantic roles & 50–950 ramp

primary
#79802B
secondary
#5F58AE
accent
#4FD95A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #79802B

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

Preview Lab → · Contrast checker → · Palette generator →

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