#798820#798820

#798820 is a mid, vivid yellow. Relative luminance 0.218; OKLCH L 59.5% C 0.125 H 117.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#798820
RGBrgb(121, 136, 32)
HSLhsl(69, 62%, 33%)
HSVhsv(69, 76%, 53%)
CMYKcmyk(11%, 0%, 76.5%, 46.7%)
CIE-LABlab(53.79, -19.38, 50.29)
CIE-LCHlch(53.79, 53.89, 111.08°)
OKLaboklab(59.5% -0.0582 0.111)
OKLCHoklch(59.5% 0.125 117.7)
XYZxyz(16.9504, 21.7777, 4.6768)
Luminance0.2178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798820 #2F2088
analogous
#886320 #798820 #458820
triadic
#798820 #207988 #882079
tetradic
#798820 #208863 #2F2088 #882045
square
#798820 #208863 #2F2088 #882045
split-complementary
#798820 #204588 #632088
monochromatic
#212509 #4D5614 #798820 #A5BA2C #C2D54D

Accessibility & contrast

On white

3.92
#798820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#798820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798820
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798820#FFFFFF#000000##000000
##7988201.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928009
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#818074
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #798820;
/* rgb */ color: rgb(121, 136, 32);
/* oklch */ color: oklch(59.5% 0.125 117.7);
Tailwind
colors: {
  custom: {
    50: '#a3aa64',
    500: '#798820',
    950: '#000000',
  },
}
SCSS
$custom: #798820;
$custom-light: #a3aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#798820",
  "rgb": {
    "r": 121,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 68.654,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59501,
    "c": 0.12535,
    "h": 117.7
  },
  "luminance": 0.21778
}

Semantic roles & 50–950 ramp

primary
#798820
secondary
#5B4CB8
accent
#43E55A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798820

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

Preview Lab → · Contrast checker → · Palette generator →

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