#798162#798162

#798162 is a mid, muted yellow-green. Relative luminance 0.206; OKLCH L 58.8% C 0.046 H 119.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#798162
RGBrgb(121, 129, 98)
HSLhsl(75, 14%, 45%)
HSVhsv(75, 24%, 51%)
CMYKcmyk(6.2%, 0%, 24%, 49.4%)
CIE-LABlab(52.56, -8.71, 15.86)
CIE-LCHlch(52.56, 18.09, 118.78°)
OKLaboklab(58.79% -0.0229 0.0403)
OKLCHoklch(58.79% 0.046 119.6)
XYZxyz(17.9398, 20.6473, 14.5931)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798162 #6A6281
analogous
#817A62 #798162 #6A8162
triadic
#798162 #627981 #816279
tetradic
#798162 #62817A #6A6281 #81626A
square
#798162 #62817A #6A6281 #81626A
split-complementary
#798162 #626A81 #7A6281
monochromatic
#383B2D #585E48 #798162 #979F81 #B4BAA4

Accessibility & contrast

On white

4.09
#798162 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#798162 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798162
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798162#FFFFFF#000000##000000
##7981621.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#857D60
Deuteranopia (green-blind)
#847E63
Tritanopia (blue-blind)
#7C7E79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #798162;
/* rgb */ color: rgb(121, 129, 98);
/* oklch */ color: oklch(58.8% 0.046 119.6);
Tailwind
colors: {
  custom: {
    50: '#a0a58e',
    500: '#798162',
    950: '#000000',
  },
}
SCSS
$custom: #798162;
$custom-light: #a0a58e;
$custom-dark: #000000;
JSON
{
  "hex": "#798162",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 98
  },
  "hsl": {
    "h": 75.484,
    "s": 13.656,
    "l": 44.51
  },
  "oklch": {
    "l": 0.58793,
    "c": 0.04633,
    "h": 119.6
  },
  "luminance": 0.20647
}

Semantic roles & 50–950 ramp

primary
#798162
secondary
#9B96A9
accent
#71B683
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0E0F0C
muted
#7E7F7D

Preview Lab

Preview with #798162

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

Preview Lab → · Contrast checker → · Palette generator →

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