#79801D#79801D

#79801D is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.118 H 113.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#79801D
RGBrgb(121, 128, 29)
HSLhsl(64, 63%, 31%)
HSVhsv(64, 77%, 50%)
CMYKcmyk(5.5%, 0%, 77.3%, 49.8%)
CIE-LABlab(51.37, -15.32, 49.07)
CIE-LCHlch(51.37, 51.41, 107.34°)
OKLaboklab(57.56% -0.0472 0.1079)
OKLCHoklch(57.56% 0.118 113.6)
XYZxyz(15.8266, 19.5923, 4.1101)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79801D #241D80
analogous
#80551D #79801D #48801D
triadic
#79801D #1D7980 #801D79
tetradic
#79801D #1D8055 #241D80 #801D48
square
#79801D #1D8055 #241D80 #801D48
split-complementary
#79801D #1D4880 #551D80
monochromatic
#1B1C06 #4A4E12 #79801D #A8B228 #CAD443

Accessibility & contrast

On white

4.27
#79801D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#79801D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79801D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79801D#FFFFFF#000000##000000
##79801D1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7906
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#81786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #79801d;
/* rgb */ color: rgb(121, 128, 29);
/* oklch */ color: oklch(57.6% 0.118 113.6);
Tailwind
colors: {
  custom: {
    50: '#a3a462',
    500: '#79801d',
    950: '#000000',
  },
}
SCSS
$custom: #79801d;
$custom-light: #a3a462;
$custom-dark: #000000;
JSON
{
  "hex": "#79801d",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 64.242,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57555,
    "c": 0.11779,
    "h": 113.6
  },
  "luminance": 0.19592
}

Semantic roles & 50–950 ramp

primary
#79801D
secondary
#4D45B3
accent
#42E64D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79801D

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

Preview Lab → · Contrast checker → · Palette generator →

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