#798552#798552

#798552 is a mid, moderate yellow-green. Relative luminance 0.214; OKLCH L 59.4% C 0.074 H 119.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#798552
RGBrgb(121, 133, 82)
HSLhsl(74, 24%, 42%)
HSVhsv(74, 38%, 52%)
CMYKcmyk(9%, 0%, 38.3%, 47.8%)
CIE-LABlab(53.44, -13.26, 26.06)
CIE-LCHlch(53.44, 29.24, 116.97°)
OKLaboklab(59.39% -0.0362 0.0641)
OKLCHoklch(59.39% 0.074 119.5)
XYZxyz(17.7957, 21.4493, 11.1836)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798552 #5E5285
analogous
#857852 #798552 #5F8552
triadic
#798552 #527985 #855279
tetradic
#798552 #528578 #5E5285 #85525F
square
#798552 #528578 #5E5285 #85525F
split-complementary
#798552 #525F85 #785285
monochromatic
#343923 #575F3B #798552 #99A66E #B4BD94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798552#FFFFFF#000000##000000
##7985521.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)
#8B804E
Deuteranopia (green-blind)
#8A8054
Tritanopia (blue-blind)
#7E8078
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #798552;
/* rgb */ color: rgb(121, 133, 82);
/* oklch */ color: oklch(59.4% 0.074 119.5);
Tailwind
colors: {
  custom: {
    50: '#a0a883',
    500: '#798552',
    950: '#000000',
  },
}
SCSS
$custom: #798552;
$custom-light: #a0a883;
$custom-dark: #000000;
JSON
{
  "hex": "#798552",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 82
  },
  "hsl": {
    "h": 74.118,
    "s": 23.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.59394,
    "c": 0.07364,
    "h": 119.5
  },
  "luminance": 0.21449
}

Semantic roles & 50–950 ramp

primary
#798552
secondary
#9089AA
accent
#68C07C
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F0F0A
muted
#7E7F7C

Preview Lab

Preview with #798552

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

Preview Lab → · Contrast checker → · Palette generator →

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