#798447#798447

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

Color values

HEX#798447
RGBrgb(121, 132, 71)
HSLhsl(71, 30%, 40%)
HSVhsv(71, 46%, 52%)
CMYKcmyk(8.3%, 0%, 46.2%, 48.2%)
CIE-LABlab(52.97, -14.08, 31.45)
CIE-LCHlch(52.97, 34.46, 114.12°)
OKLaboklab(58.97% -0.0394 0.0757)
OKLCHoklch(58.97% 0.085 117.5)
XYZxyz(17.2739, 21.0225, 9.1078)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798447 #524784
analogous
#847147 #798447 #5A8447
triadic
#798447 #477984 #844779
tetradic
#798447 #478471 #524784 #84475A
square
#798447 #478471 #524784 #84475A
split-complementary
#798447 #475A84 #714784
monochromatic
#30341C #555C32 #798447 #9CA95F #B4BE87

Accessibility & contrast

On white

4.04
#798447 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#798447 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798447
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798447#FFFFFF#000000##000000
##7984471.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E42
Deuteranopia (green-blind)
#8A7F4A
Tritanopia (blue-blind)
#7F7E76
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #798447;
/* rgb */ color: rgb(121, 132, 71);
/* oklch */ color: oklch(59.0% 0.085 117.5);
Tailwind
colors: {
  custom: {
    50: '#a1a77b',
    500: '#798447',
    950: '#000000',
  },
}
SCSS
$custom: #798447;
$custom-light: #a1a77b;
$custom-dark: #000000;
JSON
{
  "hex": "#798447",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 71
  },
  "hsl": {
    "h": 70.82,
    "s": 30.049,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58969,
    "c": 0.08538,
    "h": 117.5
  },
  "luminance": 0.21022
}

Semantic roles & 50–950 ramp

primary
#798447
secondary
#857DAA
accent
#62C674
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #798447

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

Preview Lab → · Contrast checker → · Palette generator →

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