#798819#798819

#798819 is a mid, vivid yellow. Relative luminance 0.217; OKLCH L 59.5% C 0.129 H 117.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#798819
RGBrgb(121, 136, 25)
HSLhsl(68, 69%, 32%)
HSVhsv(68, 82%, 53%)
CMYKcmyk(11%, 0%, 81.6%, 46.7%)
CIE-LABlab(53.75, -19.70, 52.54)
CIE-LCHlch(53.75, 56.11, 110.55°)
OKLaboklab(59.46% -0.0596 0.1145)
OKLCHoklch(59.46% 0.129 117.5)
XYZxyz(16.8652, 21.7436, 4.2280)
Luminance0.2174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798819 #281988
analogous
#886019 #798819 #428819
triadic
#798819 #197988 #881979
tetradic
#798819 #198860 #281988 #881942
square
#798819 #198860 #281988 #881942
split-complementary
#798819 #194288 #601988
monochromatic
#1D2106 #4B540F #798819 #A7BC23 #C7DC40

Accessibility & contrast

On white

3.93
#798819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#798819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798819
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798819#FFFFFF#000000##000000
##7988191.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#818074
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #798819;
/* rgb */ color: rgb(121, 136, 25);
/* oklch */ color: oklch(59.5% 0.129 117.5);
Tailwind
colors: {
  custom: {
    50: '#a3aa61',
    500: '#798819',
    950: '#000000',
  },
}
SCSS
$custom: #798819;
$custom-light: #a3aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#798819",
  "rgb": {
    "r": 121,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 68.108,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5946,
    "c": 0.12912,
    "h": 117.5
  },
  "luminance": 0.21743
}

Semantic roles & 50–950 ramp

primary
#798819
secondary
#5241BB
accent
#3CEC54
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #798819

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

Preview Lab → · Contrast checker → · Palette generator →

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