#79801E#79801E

#79801E 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#79801E
RGBrgb(121, 128, 30)
HSLhsl(64, 62%, 31%)
HSVhsv(64, 77%, 50%)
CMYKcmyk(5.5%, 0%, 76.6%, 49.8%)
CIE-LABlab(51.38, -15.28, 48.72)
CIE-LCHlch(51.38, 51.06, 107.41°)
OKLaboklab(57.56% -0.047 0.1074)
OKLCHoklch(57.56% 0.117 113.7)
XYZxyz(15.8392, 19.5974, 4.1763)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79801E #251E80
analogous
#80561E #79801E #48801E
triadic
#79801E #1E7980 #801E79
tetradic
#79801E #1E8056 #251E80 #801E48
square
#79801E #1E8056 #251E80 #801E48
split-complementary
#79801E #1E4880 #561E80
monochromatic
#1B1D07 #4A4E12 #79801E #A8B22A #C9D345

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79801E#FFFFFF#000000##000000
##79801E1.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)
#8A7A08
Deuteranopia (green-blind)
#8A7B26
Tritanopia (blue-blind)
#81786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #79801e;
/* rgb */ color: rgb(121, 128, 30);
/* oklch */ color: oklch(57.6% 0.117 113.7);
Tailwind
colors: {
  custom: {
    50: '#a3a462',
    500: '#79801e',
    950: '#000000',
  },
}
SCSS
$custom: #79801e;
$custom-light: #a3a462;
$custom-dark: #000000;
JSON
{
  "hex": "#79801e",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 64.286,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57562,
    "c": 0.1172,
    "h": 113.7
  },
  "luminance": 0.19597
}

Semantic roles & 50–950 ramp

primary
#79801E
secondary
#4E47B3
accent
#43E54E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #79801E

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

Preview Lab → · Contrast checker → · Palette generator →

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