#798449#798449

#798449 is a mid, moderate yellow-green. Relative luminance 0.210; OKLCH L 59.0% C 0.083 H 117.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#798449
RGBrgb(121, 132, 73)
HSLhsl(71, 29%, 40%)
HSVhsv(71, 45%, 52%)
CMYKcmyk(8.3%, 0%, 44.7%, 48.2%)
CIE-LABlab(53.00, -13.85, 30.42)
CIE-LCHlch(53.00, 33.42, 114.48°)
OKLaboklab(59% -0.0386 0.0736)
OKLCHoklch(59% 0.083 117.7)
XYZxyz(17.3391, 21.0486, 9.4514)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798449 #544984
analogous
#847149 #798449 #5C8449
triadic
#798449 #497984 #844979
tetradic
#798449 #498471 #544984 #84495C
square
#798449 #498471 #544984 #84495C
split-complementary
#798449 #495C84 #714984
monochromatic
#31351D #555D33 #798449 #9BA862 #B4BE89

Accessibility & contrast

On white

4.03
#798449 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#798449 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798449
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798449#FFFFFF#000000##000000
##7984491.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E44
Deuteranopia (green-blind)
#8A7F4C
Tritanopia (blue-blind)
#7F7E76
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798449;
/* rgb */ color: rgb(121, 132, 73);
/* oklch */ color: oklch(59.0% 0.083 117.7);
Tailwind
colors: {
  custom: {
    50: '#a1a77d',
    500: '#798449',
    950: '#000000',
  },
}
SCSS
$custom: #798449;
$custom-light: #a1a77d;
$custom-dark: #000000;
JSON
{
  "hex": "#798449",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 73
  },
  "hsl": {
    "h": 71.186,
    "s": 28.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.59001,
    "c": 0.08305,
    "h": 117.7
  },
  "luminance": 0.21049
}

Semantic roles & 50–950 ramp

primary
#798449
secondary
#877FAA
accent
#63C575
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #798449

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

Preview Lab → · Contrast checker → · Palette generator →

#798449 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva