#798166#798166

#798166 is a mid, muted yellow-green. Relative luminance 0.207; OKLCH L 58.9% C 0.041 H 121.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#798166
RGBrgb(121, 129, 102)
HSLhsl(78, 12%, 45%)
HSVhsv(78, 21%, 51%)
CMYKcmyk(6.2%, 0%, 20.9%, 49.4%)
CIE-LABlab(52.65, -8.05, 13.68)
CIE-LCHlch(52.65, 15.87, 120.49°)
OKLaboklab(58.89% -0.0211 0.035)
OKLCHoklch(58.89% 0.041 121.1)
XYZxyz(18.1334, 20.7248, 15.6128)
Luminance0.2072 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798166 #6E6681
analogous
#817B66 #798166 #6B8166
triadic
#798166 #667981 #816679
tetradic
#798166 #66817B #6E6681 #81666B
square
#798166 #66817B #6E6681 #81666B
split-complementary
#798166 #666B81 #7B6681
monochromatic
#393D30 #595F4B #798166 #979F85 #B4BAA8

Accessibility & contrast

On white

4.08
#798166 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#798166 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798166
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798166#FFFFFF#000000##000000
##7981661.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#857E64
Deuteranopia (green-blind)
#847E67
Tritanopia (blue-blind)
#7B7E7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #798166;
/* rgb */ color: rgb(121, 129, 102);
/* oklch */ color: oklch(58.9% 0.041 121.1);
Tailwind
colors: {
  custom: {
    50: '#a0a591',
    500: '#798166',
    950: '#000000',
  },
}
SCSS
$custom: #798166;
$custom-light: #a0a591;
$custom-dark: #000000;
JSON
{
  "hex": "#798166",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 102
  },
  "hsl": {
    "h": 77.778,
    "s": 11.688,
    "l": 45.294
  },
  "oklch": {
    "l": 0.58889,
    "c": 0.04083,
    "h": 121.1
  },
  "luminance": 0.20725
}

Semantic roles & 50–950 ramp

primary
#798166
secondary
#9E9AA9
accent
#73B587
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0E0F0C
muted
#7E7F7D

Preview Lab

Preview with #798166

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

Preview Lab → · Contrast checker → · Palette generator →

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