#798462#798462

#798462 is a mid, muted yellow-green. Relative luminance 0.214; OKLCH L 59.5% C 0.051 H 122.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#798462
RGBrgb(121, 132, 98)
HSLhsl(79, 15%, 45%)
HSVhsv(79, 26%, 52%)
CMYKcmyk(8.3%, 0%, 25.8%, 48.2%)
CIE-LABlab(53.44, -10.37, 17.06)
CIE-LCHlch(53.44, 19.96, 121.29°)
OKLaboklab(59.49% -0.0275 0.0432)
OKLCHoklch(59.49% 0.051 122.5)
XYZxyz(18.3408, 21.4493, 14.7268)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798462 #6D6284
analogous
#847E62 #798462 #688462
triadic
#798462 #627984 #846279
tetradic
#798462 #62847E #6D6284 #846268
square
#798462 #62847E #6D6284 #846268
split-complementary
#798462 #626884 #7E6284
monochromatic
#393E2E #596148 #798462 #97A281 #B4BCA5

Accessibility & contrast

On white

3.97
#798462 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#798462 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798462
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798462#FFFFFF#000000##000000
##7984621.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#888060
Deuteranopia (green-blind)
#878063
Tritanopia (blue-blind)
#7C817B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #798462;
/* rgb */ color: rgb(121, 132, 98);
/* oklch */ color: oklch(59.5% 0.051 122.5);
Tailwind
colors: {
  custom: {
    50: '#a0a78e',
    500: '#798462',
    950: '#000000',
  },
}
SCSS
$custom: #798462;
$custom-light: #a0a78e;
$custom-dark: #000000;
JSON
{
  "hex": "#798462",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 98
  },
  "hsl": {
    "h": 79.412,
    "s": 14.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5949,
    "c": 0.05125,
    "h": 122.5
  },
  "luminance": 0.21449
}

Semantic roles & 50–950 ramp

primary
#798462
secondary
#9D97AB
accent
#70B887
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0E0F0C
muted
#7E7F7D

Preview Lab

Preview with #798462

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

Preview Lab → · Contrast checker → · Palette generator →

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