#798652#798652

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

Color values

HEX#798652
RGBrgb(121, 134, 82)
HSLhsl(75, 24%, 42%)
HSVhsv(75, 39%, 53%)
CMYKcmyk(9.7%, 0%, 38.8%, 47.5%)
CIE-LABlab(53.73, -13.80, 26.44)
CIE-LCHlch(53.73, 29.82, 117.56°)
OKLaboklab(59.63% -0.0378 0.065)
OKLCHoklch(59.63% 0.075 120.2)
XYZxyz(17.9332, 21.7244, 11.2295)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798652 #5F5286
analogous
#867952 #798652 #5F8652
triadic
#798652 #527986 #865279
tetradic
#798652 #528679 #5F5286 #86525F
square
#798652 #528679 #5F5286 #86525F
split-complementary
#798652 #525F86 #795286
monochromatic
#343A24 #57603B #798652 #99A76F #B4BE95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798652#FFFFFF#000000##000000
##7986521.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)
#8C814E
Deuteranopia (green-blind)
#8B8154
Tritanopia (blue-blind)
#7D8179
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #798652;
/* rgb */ color: rgb(121, 134, 82);
/* oklch */ color: oklch(59.6% 0.075 120.2);
Tailwind
colors: {
  custom: {
    50: '#a0a983',
    500: '#798652',
    950: '#000000',
  },
}
SCSS
$custom: #798652;
$custom-light: #a0a983;
$custom-dark: #000000;
JSON
{
  "hex": "#798652",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 82
  },
  "hsl": {
    "h": 75,
    "s": 24.074,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5963,
    "c": 0.07516,
    "h": 120.2
  },
  "luminance": 0.21724
}

Semantic roles & 50–950 ramp

primary
#798652
secondary
#9189AB
accent
#67C17E
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F0F0A
muted
#7E7F7C

Preview Lab

Preview with #798652

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

Preview Lab → · Contrast checker → · Palette generator →

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