#798920#798920

#798920 is a mid, vivid yellow. Relative luminance 0.221; OKLCH L 59.7% C 0.127 H 118.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#798920
RGBrgb(121, 137, 32)
HSLhsl(69, 62%, 33%)
HSVhsv(69, 77%, 54%)
CMYKcmyk(11.7%, 0%, 76.6%, 46.3%)
CIE-LABlab(54.09, -19.90, 50.57)
CIE-LCHlch(54.09, 54.34, 111.48°)
OKLaboklab(59.74% -0.0596 0.1116)
OKLCHoklch(59.74% 0.127 118.1)
XYZxyz(17.0919, 22.0607, 4.7240)
Luminance0.2206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798920 #302089
analogous
#896420 #798920 #448920
triadic
#798920 #207989 #892079
tetradic
#798920 #208964 #302089 #892044
square
#798920 #208964 #302089 #892044
split-complementary
#798920 #204489 #642089
monochromatic
#212609 #4D5714 #798920 #A5BB2C #C1D64E

Accessibility & contrast

On white

3.88
#798920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#798920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798920
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798920#FFFFFF#000000##000000
##7989201.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928108
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#818175
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #798920;
/* rgb */ color: rgb(121, 137, 32);
/* oklch */ color: oklch(59.7% 0.127 118.1);
Tailwind
colors: {
  custom: {
    50: '#a3ab64',
    500: '#798920',
    950: '#000000',
  },
}
SCSS
$custom: #798920;
$custom-light: #a3ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#798920",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 69.143,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59743,
    "c": 0.12655,
    "h": 118.1
  },
  "luminance": 0.22061
}

Semantic roles & 50–950 ramp

primary
#798920
secondary
#5D4CB9
accent
#43E55B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798920

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

Preview Lab → · Contrast checker → · Palette generator →

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