#79802C#79802C

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

Color values

HEX#79802C
RGBrgb(121, 128, 44)
HSLhsl(65, 49%, 34%)
HSVhsv(65, 66%, 50%)
CMYKcmyk(5.5%, 0%, 65.6%, 49.8%)
CIE-LABlab(51.48, -14.44, 43.15)
CIE-LCHlch(51.48, 45.51, 108.50°)
OKLaboklab(57.67% -0.0432 0.0981)
OKLCHoklch(57.67% 0.107 113.8)
XYZxyz(16.0594, 19.6854, 5.3361)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79802C #332C80
analogous
#805D2C #79802C #4F802C
triadic
#79802C #2C7980 #802C79
tetradic
#79802C #2C805D #332C80 #802C4F
square
#79802C #2C805D #332C80 #802C4F
split-complementary
#79802C #2C4F80 #5D2C80
monochromatic
#23250D #4E521C #79802C #A4AE3C #BFC85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #79802c;
/* rgb */ color: rgb(121, 128, 44);
/* oklch */ color: oklch(57.7% 0.107 113.8);
Tailwind
colors: {
  custom: {
    50: '#a2a46a',
    500: '#79802c',
    950: '#000000',
  },
}
SCSS
$custom: #79802c;
$custom-light: #a2a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#79802c",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 65,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57674,
    "c": 0.10717,
    "h": 113.8
  },
  "luminance": 0.19685
}

Semantic roles & 50–950 ramp

primary
#79802C
secondary
#615AAE
accent
#4FD85B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #79802C

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

Preview Lab → · Contrast checker → · Palette generator →

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