#79801F#79801F

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

Color values

HEX#79801F
RGBrgb(121, 128, 31)
HSLhsl(64, 61%, 31%)
HSVhsv(64, 76%, 50%)
CMYKcmyk(5.5%, 0%, 75.8%, 49.8%)
CIE-LABlab(51.38, -15.23, 48.37)
CIE-LCHlch(51.38, 50.71, 107.48°)
OKLaboklab(57.57% -0.0468 0.1068)
OKLCHoklch(57.57% 0.117 113.7)
XYZxyz(15.8521, 19.6025, 4.2447)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79801F #261F80
analogous
#80561F #79801F #48801F
triadic
#79801F #1F7980 #801F79
tetradic
#79801F #1F8056 #261F80 #801F48
square
#79801F #1F8056 #261F80 #801F48
split-complementary
#79801F #1F4880 #561F80
monochromatic
#1C1D07 #4A4F13 #79801F #A8B12B #C8D247

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79801F#FFFFFF#000000##000000
##79801F1.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)
#8A7A0B
Deuteranopia (green-blind)
#8A7B27
Tritanopia (blue-blind)
#81786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #79801f;
/* rgb */ color: rgb(121, 128, 31);
/* oklch */ color: oklch(57.6% 0.117 113.7);
Tailwind
colors: {
  custom: {
    50: '#a3a463',
    500: '#79801f',
    950: '#000000',
  },
}
SCSS
$custom: #79801f;
$custom-light: #a3a463;
$custom-dark: #000000;
JSON
{
  "hex": "#79801f",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 64.33,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57568,
    "c": 0.11658,
    "h": 113.7
  },
  "luminance": 0.19602
}

Semantic roles & 50–950 ramp

primary
#79801F
secondary
#5048B3
accent
#44E44F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #79801F

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

Preview Lab → · Contrast checker → · Palette generator →

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