#798656#798656

#798656 is a mid, moderate yellow-green. Relative luminance 0.218; OKLCH L 59.7% C 0.070 H 120.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#798656
RGBrgb(121, 134, 86)
HSLhsl(76, 22%, 43%)
HSVhsv(76, 36%, 53%)
CMYKcmyk(9.7%, 0%, 35.8%, 47.5%)
CIE-LABlab(53.80, -13.25, 24.31)
CIE-LCHlch(53.80, 27.69, 118.60°)
OKLaboklab(59.71% -0.036 0.0602)
OKLCHoklch(59.71% 0.07 120.9)
XYZxyz(18.0899, 21.7870, 12.0546)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798656 #635686
analogous
#867B56 #798656 #618656
triadic
#798656 #567986 #865679
tetradic
#798656 #56867B #635686 #865661
square
#798656 #56867B #635686 #865661
split-complementary
#798656 #566186 #7B5686
monochromatic
#363B26 #57613E #798656 #98A674 #B4BD99

Accessibility & contrast

On white

3.92
#798656 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#798656 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798656
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798656#FFFFFF#000000##000000
##7986561.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8153
Deuteranopia (green-blind)
#8A8158
Tritanopia (blue-blind)
#7D817A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #798656;
/* rgb */ color: rgb(121, 134, 86);
/* oklch */ color: oklch(59.7% 0.070 120.9);
Tailwind
colors: {
  custom: {
    50: '#a0a986',
    500: '#798656',
    950: '#000000',
  },
}
SCSS
$custom: #798656;
$custom-light: #a0a986;
$custom-dark: #000000;
JSON
{
  "hex": "#798656",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 86
  },
  "hsl": {
    "h": 76.25,
    "s": 21.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.59705,
    "c": 0.07015,
    "h": 120.9
  },
  "luminance": 0.21787
}

Semantic roles & 50–950 ramp

primary
#798656
secondary
#958DAB
accent
#69BE80
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F0F0B
muted
#7E7F7C

Preview Lab

Preview with #798656

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

Preview Lab → · Contrast checker → · Palette generator →

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