#798355#798355

#798355 is a mid, moderate yellow-green. Relative luminance 0.210; OKLCH L 59.0% C 0.067 H 118.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#798355
RGBrgb(121, 131, 85)
HSLhsl(73, 21%, 42%)
HSVhsv(73, 35%, 51%)
CMYKcmyk(7.6%, 0%, 35.1%, 48.6%)
CIE-LABlab(52.90, -11.77, 23.69)
CIE-LCHlch(52.90, 26.45, 116.42°)
OKLaboklab(58.98% -0.0319 0.0587)
OKLCHoklch(58.98% 0.067 118.5)
XYZxyz(17.6411, 20.9535, 11.7076)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798355 #5F5583
analogous
#837655 #798355 #628355
triadic
#798355 #557983 #835579
tetradic
#798355 #558376 #5F5583 #835562
square
#798355 #558376 #5F5583 #835562
split-complementary
#798355 #556283 #765583
monochromatic
#343925 #575E3D #798355 #99A372 #B4BB97

Accessibility & contrast

On white

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

On black

5.19
#798355 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798355
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798355#FFFFFF#000000##000000
##7983551.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E52
Deuteranopia (green-blind)
#887F57
Tritanopia (blue-blind)
#7D7E77
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #798355;
/* rgb */ color: rgb(121, 131, 85);
/* oklch */ color: oklch(59.0% 0.067 118.5);
Tailwind
colors: {
  custom: {
    50: '#a0a785',
    500: '#798355',
    950: '#000000',
  },
}
SCSS
$custom: #798355;
$custom-light: #a0a785;
$custom-dark: #000000;
JSON
{
  "hex": "#798355",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 85
  },
  "hsl": {
    "h": 73.043,
    "s": 21.296,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5898,
    "c": 0.06679,
    "h": 118.5
  },
  "luminance": 0.20953
}

Semantic roles & 50–950 ramp

primary
#798355
secondary
#918BA9
accent
#6ABE7C
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F0F0B
muted
#7E7F7C

Preview Lab

Preview with #798355

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

Preview Lab → · Contrast checker → · Palette generator →

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