#798356#798356

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

Color values

HEX#798356
RGBrgb(121, 131, 86)
HSLhsl(73, 21%, 43%)
HSVhsv(73, 34%, 51%)
CMYKcmyk(7.6%, 0%, 34.4%, 48.6%)
CIE-LABlab(52.92, -11.63, 23.15)
CIE-LCHlch(52.92, 25.90, 116.67°)
OKLaboklab(59% -0.0314 0.0575)
OKLCHoklch(59% 0.066 118.6)
XYZxyz(17.6811, 20.9695, 11.9184)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798356 #605683
analogous
#837656 #798356 #638356
triadic
#798356 #567983 #835679
tetradic
#798356 #568376 #605683 #835663
square
#798356 #568376 #605683 #835663
split-complementary
#798356 #566383 #765683
monochromatic
#353925 #575E3E #798356 #98A373 #B4BB98

Accessibility & contrast

On white

4.04
#798356 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##798356#FFFFFF#000000##000000
##7983561.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #798356;
/* rgb */ color: rgb(121, 131, 86);
/* oklch */ color: oklch(59.0% 0.066 118.6);
Tailwind
colors: {
  custom: {
    50: '#a0a786',
    500: '#798356',
    950: '#000000',
  },
}
SCSS
$custom: #798356;
$custom-light: #a0a786;
$custom-dark: #000000;
JSON
{
  "hex": "#798356",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 86
  },
  "hsl": {
    "h": 73.333,
    "s": 20.737,
    "l": 42.549
  },
  "oklch": {
    "l": 0.59,
    "c": 0.0655,
    "h": 118.6
  },
  "luminance": 0.20969
}

Semantic roles & 50–950 ramp

primary
#798356
secondary
#928CA9
accent
#6ABD7D
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F0F0B
muted
#7E7F7C

Preview Lab

Preview with #798356

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

Preview Lab → · Contrast checker → · Palette generator →

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