#798F29#798F29

#798F29 is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 61.3% C 0.128 H 120.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#798F29
RGBrgb(121, 143, 41)
HSLhsl(73, 55%, 36%)
HSVhsv(73, 71%, 56%)
CMYKcmyk(15.4%, 0%, 71.3%, 43.9%)
CIE-LABlab(55.96, -22.46, 49.03)
CIE-LCHlch(55.96, 53.92, 114.61°)
OKLaboklab(61.26% -0.0659 0.1099)
OKLCHoklch(61.26% 0.128 120.9)
XYZxyz(18.1081, 23.8700, 5.7508)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798F29 #3F298F
analogous
#8F7229 #798F29 #468F29
triadic
#798F29 #29798F #8F2979
tetradic
#798F29 #298F72 #3F298F #8F2946
square
#798F29 #298F72 #3F298F #8F2946
split-complementary
#798F29 #29468F #72298F
monochromatic
#29300E #515F1B #798F29 #A1BF37 #B9D261

Accessibility & contrast

On white

3.64
#798F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#798F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798F29
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798F29#FFFFFF#000000##000000
##798F291.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988618
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#80877B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798f29;
/* rgb */ color: rgb(121, 143, 41);
/* oklch */ color: oklch(61.3% 0.128 120.9);
Tailwind
colors: {
  custom: {
    50: '#a3af69',
    500: '#798f29',
    950: '#000000',
  },
}
SCSS
$custom: #798f29;
$custom-light: #a3af69;
$custom-dark: #000000;
JSON
{
  "hex": "#798f29",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 72.941,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61264,
    "c": 0.12815,
    "h": 120.9
  },
  "luminance": 0.2387
}

Semantic roles & 50–950 ramp

primary
#798F29
secondary
#705CB7
accent
#49DF69
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #798F29

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

Preview Lab → · Contrast checker → · Palette generator →

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