#798352#798352

#798352 is a mid, moderate yellow-green. Relative luminance 0.209; OKLCH L 58.9% C 0.071 H 118.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#798352
RGBrgb(121, 131, 82)
HSLhsl(72, 23%, 42%)
HSVhsv(72, 37%, 51%)
CMYKcmyk(7.6%, 0%, 37.4%, 48.6%)
CIE-LABlab(52.85, -12.17, 25.29)
CIE-LCHlch(52.85, 28.07, 115.71°)
OKLaboklab(58.92% -0.0332 0.0623)
OKLCHoklch(58.92% 0.071 118)
XYZxyz(17.5245, 20.9068, 11.0932)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798352 #5C5283
analogous
#837552 #798352 #618352
triadic
#798352 #527983 #835279
tetradic
#798352 #528375 #5C5283 #835261
square
#798352 #528375 #5C5283 #835261
split-complementary
#798352 #526183 #755283
monochromatic
#333823 #565D3A #798352 #99A46E #B4BC94

Accessibility & contrast

On white

4.05
#798352 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#798352 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798352
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798352#FFFFFF#000000##000000
##7983521.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4E
Deuteranopia (green-blind)
#887E54
Tritanopia (blue-blind)
#7E7E77
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #798352;
/* rgb */ color: rgb(121, 131, 82);
/* oklch */ color: oklch(58.9% 0.071 118.0);
Tailwind
colors: {
  custom: {
    50: '#a0a783',
    500: '#798352',
    950: '#000000',
  },
}
SCSS
$custom: #798352;
$custom-light: #a0a783;
$custom-dark: #000000;
JSON
{
  "hex": "#798352",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 82
  },
  "hsl": {
    "h": 72.245,
    "s": 23.005,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58923,
    "c": 0.07061,
    "h": 118
  },
  "luminance": 0.20907
}

Semantic roles & 50–950 ramp

primary
#798352
secondary
#8F88A9
accent
#68BF7A
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F0F0A
muted
#7E7F7C

Preview Lab

Preview with #798352

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

Preview Lab → · Contrast checker → · Palette generator →

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