#798320#798320

#798320 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.3% C 0.119 H 115.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#798320
RGBrgb(121, 131, 32)
HSLhsl(66, 61%, 32%)
HSVhsv(66, 76%, 51%)
CMYKcmyk(7.6%, 0%, 75.6%, 48.6%)
CIE-LABlab(52.29, -16.77, 48.86)
CIE-LCHlch(52.29, 51.66, 108.94°)
OKLaboklab(58.29% -0.051 0.108)
OKLCHoklch(58.29% 0.119 115.3)
XYZxyz(16.2626, 20.4021, 4.4475)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798320 #2A2083
analogous
#835C20 #798320 #478320
triadic
#798320 #207983 #832079
tetradic
#798320 #20835C #2A2083 #832047
square
#798320 #20835C #2A2083 #832047
split-complementary
#798320 #204783 #5C2083
monochromatic
#1E2108 #4C5214 #798320 #A6B42C #C5D34A

Accessibility & contrast

On white

4.13
#798320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#798320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798320
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798320#FFFFFF#000000##000000
##7983201.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0C
Deuteranopia (green-blind)
#8C7E28
Tritanopia (blue-blind)
#817B70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #798320;
/* rgb */ color: rgb(121, 131, 32);
/* oklch */ color: oklch(58.3% 0.119 115.3);
Tailwind
colors: {
  custom: {
    50: '#a3a663',
    500: '#798320',
    950: '#000000',
  },
}
SCSS
$custom: #798320;
$custom-light: #a3a663;
$custom-dark: #000000;
JSON
{
  "hex": "#798320",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 66.061,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58295,
    "c": 0.11943,
    "h": 115.3
  },
  "luminance": 0.20402
}

Semantic roles & 50–950 ramp

primary
#798320
secondary
#5449B6
accent
#44E454
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #798320

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

Preview Lab → · Contrast checker → · Palette generator →

#798320 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva