#798B29#798B29

#798B29 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.3% C 0.123 H 119.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#798B29
RGBrgb(121, 139, 41)
HSLhsl(71, 54%, 35%)
HSVhsv(71, 71%, 55%)
CMYKcmyk(12.9%, 0%, 70.5%, 45.5%)
CIE-LABlab(54.75, -20.42, 47.81)
CIE-LCHlch(54.75, 51.99, 113.12°)
OKLaboklab(60.29% -0.0602 0.1074)
OKLCHoklch(60.29% 0.123 119.3)
XYZxyz(17.5183, 22.6904, 5.5542)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798B29 #3B298B
analogous
#8B6C29 #798B29 #488B29
triadic
#798B29 #29798B #8B2979
tetradic
#798B29 #298B6C #3B298B #8B2948
square
#798B29 #298B6C #3B298B #8B2948
split-complementary
#798B29 #29488B #6C298B
monochromatic
#272C0D #505C1B #798B29 #A2BA37 #BBD05F

Accessibility & contrast

On white

3.79
#798B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#798B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798B29
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798B29#FFFFFF#000000##000000
##798B291.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831A
Deuteranopia (green-blind)
#928331
Tritanopia (blue-blind)
#808377
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #798b29;
/* rgb */ color: rgb(121, 139, 41);
/* oklch */ color: oklch(60.3% 0.123 119.3);
Tailwind
colors: {
  custom: {
    50: '#a2ac69',
    500: '#798b29',
    950: '#000000',
  },
}
SCSS
$custom: #798b29;
$custom-light: #a2ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#798b29",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 71.02,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60294,
    "c": 0.12311,
    "h": 119.3
  },
  "luminance": 0.2269
}

Semantic roles & 50–950 ramp

primary
#798B29
secondary
#6B5BB5
accent
#4ADE65
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #798B29

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

Preview Lab → · Contrast checker → · Palette generator →

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