#798762#798762

#798762 is a mid, muted yellow-green. Relative luminance 0.223; OKLCH L 60.2% C 0.056 H 124.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#798762
RGBrgb(121, 135, 98)
HSLhsl(83, 16%, 46%)
HSVhsv(83, 27%, 53%)
CMYKcmyk(10.4%, 0%, 27.4%, 47.1%)
CIE-LABlab(54.32, -12.01, 18.26)
CIE-LCHlch(54.32, 21.85, 123.34°)
OKLaboklab(60.19% -0.0321 0.0461)
OKLCHoklch(60.19% 0.056 124.9)
XYZxyz(18.7535, 22.2747, 14.8644)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798762 #706287
analogous
#878262 #798762 #668762
triadic
#798762 #627987 #876279
tetradic
#798762 #628782 #706287 #876266
square
#798762 #628782 #706287 #876266
split-complementary
#798762 #626687 #826287
monochromatic
#39402F #596448 #798762 #97A482 #B5BEA5

Accessibility & contrast

On white

3.85
#798762 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#798762 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798762
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798762#FFFFFF#000000##000000
##7987621.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8260
Deuteranopia (green-blind)
#898264
Tritanopia (blue-blind)
#7B837D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #798762;
/* rgb */ color: rgb(121, 135, 98);
/* oklch */ color: oklch(60.2% 0.056 124.9);
Tailwind
colors: {
  custom: {
    50: '#a0aa8f',
    500: '#798762',
    950: '#000000',
  },
}
SCSS
$custom: #798762;
$custom-light: #a0aa8f;
$custom-dark: #000000;
JSON
{
  "hex": "#798762",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 98
  },
  "hsl": {
    "h": 82.703,
    "s": 15.88,
    "l": 45.686
  },
  "oklch": {
    "l": 0.60191,
    "c": 0.05621,
    "h": 124.9
  },
  "luminance": 0.22275
}

Semantic roles & 50–950 ramp

primary
#798762
secondary
#A098AD
accent
#6FB98B
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0E100C
muted
#7E7F7D

Preview Lab

Preview with #798762

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

Preview Lab → · Contrast checker → · Palette generator →

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