#798366#798366

#798366 is a mid, muted yellow-green. Relative luminance 0.213; OKLCH L 59.4% C 0.044 H 123.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#798366
RGBrgb(121, 131, 102)
HSLhsl(81, 12%, 46%)
HSVhsv(81, 22%, 51%)
CMYKcmyk(7.6%, 0%, 22.1%, 48.6%)
CIE-LABlab(53.23, -9.16, 14.48)
CIE-LCHlch(53.23, 17.14, 122.32°)
OKLaboklab(59.35% -0.0242 0.037)
OKLCHoklch(59.35% 0.044 123.2)
XYZxyz(18.3994, 21.2568, 15.7015)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798366 #706683
analogous
#837E66 #798366 #6A8366
triadic
#798366 #667983 #836679
tetradic
#798366 #66837E #706683 #83666A
square
#798366 #66837E #706683 #83666A
split-complementary
#798366 #666A83 #7E6683
monochromatic
#393E30 #59614B #798366 #97A186 #B5BBA8

Accessibility & contrast

On white

4.00
#798366 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#798366 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798366
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798366#FFFFFF#000000##000000
##7983661.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877F64
Deuteranopia (green-blind)
#857F67
Tritanopia (blue-blind)
#7B807B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798366;
/* rgb */ color: rgb(121, 131, 102);
/* oklch */ color: oklch(59.4% 0.044 123.2);
Tailwind
colors: {
  custom: {
    50: '#a0a791',
    500: '#798366',
    950: '#000000',
  },
}
SCSS
$custom: #798366;
$custom-light: #a0a791;
$custom-dark: #000000;
JSON
{
  "hex": "#798366",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 102
  },
  "hsl": {
    "h": 80.69,
    "s": 12.446,
    "l": 45.686
  },
  "oklch": {
    "l": 0.59352,
    "c": 0.04417,
    "h": 123.2
  },
  "luminance": 0.21257
}

Semantic roles & 50–950 ramp

primary
#798366
secondary
#A09AAA
accent
#72B58A
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0E0F0C
muted
#7E7F7D

Preview Lab

Preview with #798366

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

Preview Lab → · Contrast checker → · Palette generator →

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