#798648#798648

#798648 is a mid, moderate yellow-green. Relative luminance 0.216; OKLCH L 59.5% C 0.087 H 118.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#798648
RGBrgb(121, 134, 72)
HSLhsl(73, 30%, 40%)
HSVhsv(73, 46%, 53%)
CMYKcmyk(9.7%, 0%, 46.3%, 47.5%)
CIE-LABlab(53.58, -15.04, 31.67)
CIE-LCHlch(53.58, 35.06, 115.40°)
OKLaboklab(59.46% -0.042 0.0763)
OKLCHoklch(59.46% 0.087 118.8)
XYZxyz(17.5801, 21.5831, 9.3695)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798648 #554886
analogous
#867448 #798648 #5A8648
triadic
#798648 #487986 #864879
tetradic
#798648 #488674 #554886 #86485A
square
#798648 #488674 #554886 #86485A
split-complementary
#798648 #485A86 #744886
monochromatic
#31361D #555E33 #798648 #9BAA61 #B4C089

Accessibility & contrast

On white

3.95
#798648 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#798648 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798648
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798648#FFFFFF#000000##000000
##7986481.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8043
Deuteranopia (green-blind)
#8C804B
Tritanopia (blue-blind)
#7E8077
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #798648;
/* rgb */ color: rgb(121, 134, 72);
/* oklch */ color: oklch(59.5% 0.087 118.8);
Tailwind
colors: {
  custom: {
    50: '#a1a97c',
    500: '#798648',
    950: '#000000',
  },
}
SCSS
$custom: #798648;
$custom-light: #a1a97c;
$custom-dark: #000000;
JSON
{
  "hex": "#798648",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 72
  },
  "hsl": {
    "h": 72.581,
    "s": 30.097,
    "l": 40.392
  },
  "oklch": {
    "l": 0.59459,
    "c": 0.0871,
    "h": 118.8
  },
  "luminance": 0.21583
}

Semantic roles & 50–950 ramp

primary
#798648
secondary
#887FAB
accent
#61C677
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #798648

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

Preview Lab → · Contrast checker → · Palette generator →

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