#798056#798056

#798056 is a mid, moderate yellow-green. Relative luminance 0.202; OKLCH L 58.3% C 0.061 H 116.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#798056
RGBrgb(121, 128, 86)
HSLhsl(70, 20%, 42%)
HSVhsv(70, 33%, 50%)
CMYKcmyk(5.5%, 0%, 32.8%, 49.8%)
CIE-LABlab(52.03, -9.98, 21.99)
CIE-LCHlch(52.03, 24.14, 114.42°)
OKLaboklab(58.3% -0.0267 0.0548)
OKLCHoklch(58.3% 0.061 116)
XYZxyz(17.2840, 20.1753, 11.7860)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798056 #5D5680
analogous
#807256 #798056 #648056
triadic
#798056 #567980 #805679
tetradic
#798056 #568072 #5D5680 #805664
square
#798056 #568072 #5D5680 #805664
split-complementary
#798056 #566480 #725680
monochromatic
#343725 #565B3D #798056 #99A173 #B4B997

Accessibility & contrast

On white

4.17
#798056 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#798056 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798056
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798056#FFFFFF#000000##000000
##7980561.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867C53
Deuteranopia (green-blind)
#857C58
Tritanopia (blue-blind)
#7E7B75
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #798056;
/* rgb */ color: rgb(121, 128, 86);
/* oklch */ color: oklch(58.3% 0.061 116.0);
Tailwind
colors: {
  custom: {
    50: '#a0a486',
    500: '#798056',
    950: '#000000',
  },
}
SCSS
$custom: #798056;
$custom-light: #a0a486;
$custom-dark: #000000;
JSON
{
  "hex": "#798056",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 86
  },
  "hsl": {
    "h": 70,
    "s": 19.626,
    "l": 41.961
  },
  "oklch": {
    "l": 0.58298,
    "c": 0.06093,
    "h": 116
  },
  "luminance": 0.20175
}

Semantic roles & 50–950 ramp

primary
#798056
secondary
#908BA7
accent
#6CBC79
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F0F0B
muted
#7E7F7C

Preview Lab

Preview with #798056

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

Preview Lab → · Contrast checker → · Palette generator →

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