#798558#798558

#798558 is a mid, moderate yellow-green. Relative luminance 0.215; OKLCH L 59.5% C 0.066 H 120.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#798558
RGBrgb(121, 133, 88)
HSLhsl(76, 20%, 43%)
HSVhsv(76, 34%, 52%)
CMYKcmyk(9%, 0%, 33.8%, 47.8%)
CIE-LABlab(53.54, -12.43, 22.85)
CIE-LCHlch(53.54, 26.01, 118.54°)
OKLaboklab(59.51% -0.0336 0.0569)
OKLCHoklch(59.51% 0.066 120.6)
XYZxyz(18.0340, 21.5446, 12.4391)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798558 #645885
analogous
#857A58 #798558 #628558
triadic
#798558 #587985 #855879
tetradic
#798558 #58857A #645885 #855862
square
#798558 #58857A #645885 #855862
split-complementary
#798558 #586285 #7A5885
monochromatic
#363B27 #576040 #798558 #98A476 #B4BD9B

Accessibility & contrast

On white

3.96
#798558 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#798558 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798558
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798558#FFFFFF#000000##000000
##7985581.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8055
Deuteranopia (green-blind)
#89805A
Tritanopia (blue-blind)
#7D8179
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #798558;
/* rgb */ color: rgb(121, 133, 88);
/* oklch */ color: oklch(59.5% 0.066 120.6);
Tailwind
colors: {
  custom: {
    50: '#a0a887',
    500: '#798558',
    950: '#000000',
  },
}
SCSS
$custom: #798558;
$custom-light: #a0a887;
$custom-dark: #000000;
JSON
{
  "hex": "#798558",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 88
  },
  "hsl": {
    "h": 76,
    "s": 20.362,
    "l": 43.333
  },
  "oklch": {
    "l": 0.59509,
    "c": 0.06603,
    "h": 120.6
  },
  "luminance": 0.21545
}

Semantic roles & 50–950 ramp

primary
#798558
secondary
#968EAA
accent
#6BBD81
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F0F0B
muted
#7E7F7C

Preview Lab

Preview with #798558

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

Preview Lab → · Contrast checker → · Palette generator →

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