#798651#798651

#798651 is a mid, moderate yellow-green. Relative luminance 0.217; OKLCH L 59.6% C 0.076 H 120.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#798651
RGBrgb(121, 134, 81)
HSLhsl(75, 25%, 42%)
HSVhsv(75, 40%, 53%)
CMYKcmyk(9.7%, 0%, 39.6%, 47.5%)
CIE-LABlab(53.72, -13.93, 26.97)
CIE-LCHlch(53.72, 30.35, 117.32°)
OKLaboklab(59.61% -0.0382 0.0662)
OKLCHoklch(59.61% 0.076 120)
XYZxyz(17.8955, 21.7093, 11.0305)
Luminance0.2171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798651 #5E5186
analogous
#867951 #798651 #5F8651
triadic
#798651 #517986 #865179
tetradic
#798651 #518679 #5E5186 #86515F
square
#798651 #518679 #5E5186 #86515F
split-complementary
#798651 #515F86 #795186
monochromatic
#343A23 #57603A #798651 #99A76D #B4BE93

Accessibility & contrast

On white

3.93
#798651 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#798651 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798651
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798651#FFFFFF#000000##000000
##7986511.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804D
Deuteranopia (green-blind)
#8B8154
Tritanopia (blue-blind)
#7E8179
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #798651;
/* rgb */ color: rgb(121, 134, 81);
/* oklch */ color: oklch(59.6% 0.076 120.0);
Tailwind
colors: {
  custom: {
    50: '#a0a982',
    500: '#798651',
    950: '#000000',
  },
}
SCSS
$custom: #798651;
$custom-light: #a0a982;
$custom-dark: #000000;
JSON
{
  "hex": "#798651",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 81
  },
  "hsl": {
    "h": 74.717,
    "s": 24.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.59612,
    "c": 0.07639,
    "h": 120
  },
  "luminance": 0.21709
}

Semantic roles & 50–950 ramp

primary
#798651
secondary
#9088AB
accent
#67C17D
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F0F0A
muted
#7E7F7C

Preview Lab

Preview with #798651

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

Preview Lab → · Contrast checker → · Palette generator →

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