#79802D#79802D

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

Color values

HEX#79802D
RGBrgb(121, 128, 45)
HSLhsl(65, 48%, 34%)
HSVhsv(65, 65%, 50%)
CMYKcmyk(5.5%, 0%, 64.8%, 49.8%)
CIE-LABlab(51.49, -14.37, 42.71)
CIE-LCHlch(51.49, 45.07, 108.59°)
OKLaboklab(57.68% -0.0429 0.0973)
OKLCHoklch(57.68% 0.106 113.8)
XYZxyz(16.0784, 19.6930, 5.4363)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79802D #342D80
analogous
#805E2D #79802D #50802D
triadic
#79802D #2D7980 #802D79
tetradic
#79802D #2D805E #342D80 #802D50
square
#79802D #2D805E #342D80 #802D50
split-complementary
#79802D #2D5080 #5E2D80
monochromatic
#23250D #4E531D #79802D #A4AD3D #BEC760

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #79802d;
/* rgb */ color: rgb(121, 128, 45);
/* oklch */ color: oklch(57.7% 0.106 113.8);
Tailwind
colors: {
  custom: {
    50: '#a2a46a',
    500: '#79802d',
    950: '#000000',
  },
}
SCSS
$custom: #79802d;
$custom-light: #a2a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#79802d",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 65.06,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57684,
    "c": 0.10633,
    "h": 113.8
  },
  "luminance": 0.19693
}

Semantic roles & 50–950 ramp

primary
#79802D
secondary
#625BAE
accent
#50D85C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #79802D

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

Preview Lab → · Contrast checker → · Palette generator →

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