#798362#798362

#798362 is a mid, muted yellow-green. Relative luminance 0.212; OKLCH L 59.3% C 0.050 H 121.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#798362
RGBrgb(121, 131, 98)
HSLhsl(78, 14%, 45%)
HSVhsv(78, 25%, 51%)
CMYKcmyk(7.6%, 0%, 25.2%, 48.6%)
CIE-LABlab(53.15, -9.82, 16.66)
CIE-LCHlch(53.15, 19.34, 120.51°)
OKLaboklab(59.26% -0.026 0.0422)
OKLCHoklch(59.26% 0.05 121.6)
XYZxyz(18.2058, 21.1794, 14.6818)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798362 #6C6283
analogous
#837C62 #798362 #698362
triadic
#798362 #627983 #836279
tetradic
#798362 #62837C #6C6283 #836269
square
#798362 #62837C #6C6283 #836269
split-complementary
#798362 #626983 #7C6283
monochromatic
#383D2E #596048 #798362 #97A181 #B4BBA4

Accessibility & contrast

On white

4.01
#798362 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#798362 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798362
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798362#FFFFFF#000000##000000
##7983621.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877F60
Deuteranopia (green-blind)
#867F63
Tritanopia (blue-blind)
#7C807A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798362;
/* rgb */ color: rgb(121, 131, 98);
/* oklch */ color: oklch(59.3% 0.050 121.6);
Tailwind
colors: {
  custom: {
    50: '#a0a78e',
    500: '#798362',
    950: '#000000',
  },
}
SCSS
$custom: #798362;
$custom-light: #a0a78e;
$custom-dark: #000000;
JSON
{
  "hex": "#798362",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 98
  },
  "hsl": {
    "h": 78.182,
    "s": 14.41,
    "l": 44.902
  },
  "oklch": {
    "l": 0.59257,
    "c": 0.0496,
    "h": 121.6
  },
  "luminance": 0.21179
}

Semantic roles & 50–950 ramp

primary
#798362
secondary
#9D97AA
accent
#71B786
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0E0F0C
muted
#7E7F7D

Preview Lab

Preview with #798362

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

Preview Lab → · Contrast checker → · Palette generator →

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