#798D29#798D29

#798D29 is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.8% C 0.126 H 120.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#798D29
RGBrgb(121, 141, 41)
HSLhsl(72, 55%, 36%)
HSVhsv(72, 71%, 55%)
CMYKcmyk(14.2%, 0%, 70.9%, 44.7%)
CIE-LABlab(55.35, -21.44, 48.42)
CIE-LCHlch(55.35, 52.95, 113.88°)
OKLaboklab(60.78% -0.063 0.1087)
OKLCHoklch(60.78% 0.126 120.1)
XYZxyz(17.8106, 23.2749, 5.6516)
Luminance0.2328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D29 #3D298D
analogous
#8D6F29 #798D29 #478D29
triadic
#798D29 #29798D #8D2979
tetradic
#798D29 #298D6F #3D298D #8D2947
square
#798D29 #298D6F #3D298D #8D2947
split-complementary
#798D29 #29478D #6F298D
monochromatic
#282E0D #505E1B #798D29 #A2BC37 #BAD160

Accessibility & contrast

On white

3.71
#798D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#798D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798D29
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798D29#FFFFFF#000000##000000
##798D291.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968519
Deuteranopia (green-blind)
#948531
Tritanopia (blue-blind)
#808579
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798d29;
/* rgb */ color: rgb(121, 141, 41);
/* oklch */ color: oklch(60.8% 0.126 120.1);
Tailwind
colors: {
  custom: {
    50: '#a2ae69',
    500: '#798d29',
    950: '#000000',
  },
}
SCSS
$custom: #798d29;
$custom-light: #a2ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#798d29",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 72,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60779,
    "c": 0.12563,
    "h": 120.1
  },
  "luminance": 0.23275
}

Semantic roles & 50–950 ramp

primary
#798D29
secondary
#6E5BB6
accent
#4ADE67
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #798D29

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

Preview Lab → · Contrast checker → · Palette generator →

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