#798446#798446

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

Color values

HEX#798446
RGBrgb(121, 132, 70)
HSLhsl(71, 31%, 40%)
HSVhsv(71, 47%, 52%)
CMYKcmyk(8.3%, 0%, 47%, 48.2%)
CIE-LABlab(52.96, -14.20, 31.97)
CIE-LCHlch(52.96, 34.98, 113.95°)
OKLaboklab(58.95% -0.0398 0.0768)
OKLCHoklch(58.95% 0.087 117.4)
XYZxyz(17.2421, 21.0098, 8.9401)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798446 #514684
analogous
#847046 #798446 #5A8446
triadic
#798446 #467984 #844679
tetradic
#798446 #468470 #514684 #84465A
square
#798446 #468470 #514684 #84465A
split-complementary
#798446 #465A84 #704684
monochromatic
#30341C #545C31 #798446 #9CA95E #B5BF86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798446#FFFFFF#000000##000000
##7984461.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)
#8B7E41
Deuteranopia (green-blind)
#8A7F49
Tritanopia (blue-blind)
#7F7E75
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #798446;
/* rgb */ color: rgb(121, 132, 70);
/* oklch */ color: oklch(59.0% 0.087 117.4);
Tailwind
colors: {
  custom: {
    50: '#a1a77b',
    500: '#798446',
    950: '#000000',
  },
}
SCSS
$custom: #798446;
$custom-light: #a1a77b;
$custom-dark: #000000;
JSON
{
  "hex": "#798446",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 70
  },
  "hsl": {
    "h": 70.645,
    "s": 30.693,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58953,
    "c": 0.08653,
    "h": 117.4
  },
  "luminance": 0.2101
}

Semantic roles & 50–950 ramp

primary
#798446
secondary
#847CAA
accent
#61C773
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #798446

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

Preview Lab → · Contrast checker → · Palette generator →

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