#798922#798922

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

Color values

HEX#798922
RGBrgb(121, 137, 34)
HSLhsl(69, 60%, 34%)
HSVhsv(69, 75%, 54%)
CMYKcmyk(11.7%, 0%, 75.2%, 46.3%)
CIE-LABlab(54.10, -19.80, 49.87)
CIE-LCHlch(54.10, 53.65, 111.65°)
OKLaboklab(59.76% -0.0592 0.1105)
OKLCHoklch(59.76% 0.125 118.2)
XYZxyz(17.1199, 22.0719, 4.8715)
Luminance0.2207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798922 #322289
analogous
#896522 #798922 #458922
triadic
#798922 #227989 #892279
tetradic
#798922 #228965 #322289 #892245
square
#798922 #228965 #322289 #892245
split-complementary
#798922 #224589 #652289
monochromatic
#22270A #4E5816 #798922 #A4BA2E #C0D451

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798922#FFFFFF#000000##000000
##7989221.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)
#92810D
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#818175
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #798922;
/* rgb */ color: rgb(121, 137, 34);
/* oklch */ color: oklch(59.8% 0.125 118.2);
Tailwind
colors: {
  custom: {
    50: '#a3ab65',
    500: '#798922',
    950: '#000000',
  },
}
SCSS
$custom: #798922;
$custom-light: #a3ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#798922",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 69.32,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59757,
    "c": 0.12534,
    "h": 118.2
  },
  "luminance": 0.22072
}

Semantic roles & 50–950 ramp

primary
#798922
secondary
#5F4FB8
accent
#44E35D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798922

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

Preview Lab → · Contrast checker → · Palette generator →

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