#798F33#798F33

#798F33 is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 61.4% C 0.120 H 121.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#798F33
RGBrgb(121, 143, 51)
HSLhsl(74, 47%, 38%)
HSVhsv(74, 64%, 56%)
CMYKcmyk(15.4%, 0%, 64.3%, 43.9%)
CIE-LABlab(56.04, -21.76, 44.89)
CIE-LCHlch(56.04, 49.89, 115.86°)
OKLaboklab(61.35% -0.0629 0.1028)
OKLCHoklch(61.35% 0.12 121.5)
XYZxyz(18.3054, 23.9489, 6.7896)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798F33 #49338F
analogous
#8F7733 #798F33 #4B8F33
triadic
#798F33 #33798F #8F3379
tetradic
#798F33 #338F77 #49338F #8F334B
square
#798F33 #338F77 #49338F #8F334B
split-complementary
#798F33 #334B8F #77338F
monochromatic
#2D3513 #536223 #798F33 #9FBC43 #B6CC70

Accessibility & contrast

On white

3.63
#798F33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#798F33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798F33
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798F33#FFFFFF#000000##000000
##798F331.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978728
Deuteranopia (green-blind)
#958639
Tritanopia (blue-blind)
#7F887C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798f33;
/* rgb */ color: rgb(121, 143, 51);
/* oklch */ color: oklch(61.4% 0.120 121.5);
Tailwind
colors: {
  custom: {
    50: '#a2af6f',
    500: '#798f33',
    950: '#000000',
  },
}
SCSS
$custom: #798f33;
$custom-light: #a2af6f;
$custom-dark: #000000;
JSON
{
  "hex": "#798f33",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 51
  },
  "hsl": {
    "h": 74.348,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61354,
    "c": 0.12049,
    "h": 121.5
  },
  "luminance": 0.23949
}

Semantic roles & 50–950 ramp

primary
#798F33
secondary
#7B6AB4
accent
#51D771
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #798F33

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

Preview Lab → · Contrast checker → · Palette generator →

#798F33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva