#798C29#798C29

#798C29 is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.5% C 0.124 H 119.7°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#798C29
RGBrgb(121, 140, 41)
HSLhsl(72, 55%, 35%)
HSVhsv(72, 71%, 55%)
CMYKcmyk(13.6%, 0%, 70.7%, 45.1%)
CIE-LABlab(55.05, -20.93, 48.12)
CIE-LCHlch(55.05, 52.47, 113.51°)
OKLaboklab(60.54% -0.0616 0.108)
OKLCHoklch(60.54% 0.124 119.7)
XYZxyz(17.6638, 22.9813, 5.6027)
Luminance0.2298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798C29 #3C298C
analogous
#8C6D29 #798C29 #478C29
triadic
#798C29 #29798C #8C2979
tetradic
#798C29 #298C6D #3C298C #8C2947
square
#798C29 #298C6D #3C298C #8C2947
split-complementary
#798C29 #29478C #6D298C
monochromatic
#272D0D #505D1B #798C29 #A2BB37 #BBD05F

Accessibility & contrast

On white

3.75
#798C29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#798C29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798C29
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798C29#FFFFFF#000000##000000
##798C291.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958419
Deuteranopia (green-blind)
#938431
Tritanopia (blue-blind)
#808478
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #798c29;
/* rgb */ color: rgb(121, 140, 41);
/* oklch */ color: oklch(60.5% 0.124 119.7);
Tailwind
colors: {
  custom: {
    50: '#a2ad69',
    500: '#798c29',
    950: '#000000',
  },
}
SCSS
$custom: #798c29;
$custom-light: #a2ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#798c29",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 41
  },
  "hsl": {
    "h": 71.515,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60536,
    "c": 0.12437,
    "h": 119.7
  },
  "luminance": 0.22981
}

Semantic roles & 50–950 ramp

primary
#798C29
secondary
#6C5BB6
accent
#4ADE66
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #798C29

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

Preview Lab → · Contrast checker → · Palette generator →

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