#798A29#798A29

#798A29 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 60.1% C 0.122 H 118.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#798A29
RGBrgb(121, 138, 41)
HSLhsl(71, 54%, 35%)
HSVhsv(71, 70%, 54%)
CMYKcmyk(12.3%, 0%, 70.3%, 45.9%)
CIE-LABlab(54.45, -19.90, 47.51)
CIE-LCHlch(54.45, 51.51, 112.73°)
OKLaboklab(60.05% -0.0588 0.1067)
OKLCHoklch(60.05% 0.122 118.8)
XYZxyz(17.3742, 22.4021, 5.5062)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798A29 #3A298A
analogous
#8A6A29 #798A29 #498A29
triadic
#798A29 #29798A #8A2979
tetradic
#798A29 #298A6A #3A298A #8A2949
square
#798A29 #298A6A #3A298A #8A2949
split-complementary
#798A29 #29498A #6A298A
monochromatic
#262C0D #505B1B #798A29 #A2B937 #BBCF5E

Accessibility & contrast

On white

3.83
#798A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#798A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798A29
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798A29#FFFFFF#000000##000000
##798A291.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821A
Deuteranopia (green-blind)
#918331
Tritanopia (blue-blind)
#808277
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #798a29;
/* rgb */ color: rgb(121, 138, 41);
/* oklch */ color: oklch(60.1% 0.122 118.8);
Tailwind
colors: {
  custom: {
    50: '#a2ac69',
    500: '#798a29',
    950: '#000000',
  },
}
SCSS
$custom: #798a29;
$custom-light: #a2ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#798a29",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 70.515,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60052,
    "c": 0.12186,
    "h": 118.8
  },
  "luminance": 0.22402
}

Semantic roles & 50–950 ramp

primary
#798A29
secondary
#6A5AB5
accent
#4ADE64
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #798A29

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

Preview Lab → · Contrast checker → · Palette generator →

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