#798554#798554

#798554 is a mid, moderate yellow-green. Relative luminance 0.215; OKLCH L 59.4% C 0.071 H 119.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#798554
RGBrgb(121, 133, 84)
HSLhsl(75, 23%, 43%)
HSVhsv(75, 37%, 52%)
CMYKcmyk(9%, 0%, 36.8%, 47.8%)
CIE-LABlab(53.47, -12.99, 24.99)
CIE-LCHlch(53.47, 28.17, 117.46°)
OKLaboklab(59.43% -0.0354 0.0617)
OKLCHoklch(59.43% 0.071 119.8)
XYZxyz(17.8729, 21.4801, 11.5903)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798554 #605485
analogous
#857954 #798554 #608554
triadic
#798554 #547985 #855479
tetradic
#798554 #548579 #605485 #855460
square
#798554 #548579 #605485 #855460
split-complementary
#798554 #546085 #795485
monochromatic
#353A25 #575F3C #798554 #98A571 #B4BD96

Accessibility & contrast

On white

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

On black

5.30
#798554 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798554
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798554#FFFFFF#000000##000000
##7985541.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8050
Deuteranopia (green-blind)
#898056
Tritanopia (blue-blind)
#7D8079
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #798554;
/* rgb */ color: rgb(121, 133, 84);
/* oklch */ color: oklch(59.4% 0.071 119.8);
Tailwind
colors: {
  custom: {
    50: '#a0a884',
    500: '#798554',
    950: '#000000',
  },
}
SCSS
$custom: #798554;
$custom-light: #a0a884;
$custom-dark: #000000;
JSON
{
  "hex": "#798554",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 84
  },
  "hsl": {
    "h": 74.694,
    "s": 22.581,
    "l": 42.549
  },
  "oklch": {
    "l": 0.59431,
    "c": 0.07113,
    "h": 119.8
  },
  "luminance": 0.2148
}

Semantic roles & 50–950 ramp

primary
#798554
secondary
#928AAA
accent
#69BF7E
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F0F0B
muted
#7E7F7C

Preview Lab

Preview with #798554

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

Preview Lab → · Contrast checker → · Palette generator →

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