#798261#798261

#798261 is a mid, muted yellow-green. Relative luminance 0.209; OKLCH L 59.0% C 0.049 H 120.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#798261
RGBrgb(121, 130, 97)
HSLhsl(76, 15%, 45%)
HSVhsv(76, 25%, 51%)
CMYKcmyk(6.9%, 0%, 25.4%, 49%)
CIE-LABlab(52.83, -9.43, 16.80)
CIE-LCHlch(52.83, 19.27, 119.29°)
OKLaboklab(59% -0.0249 0.0426)
OKLCHoklch(59% 0.049 120.3)
XYZxyz(18.0253, 20.8933, 14.3902)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798261 #6A6182
analogous
#827B61 #798261 #698261
triadic
#798261 #617982 #826179
tetradic
#798261 #61827B #6A6182 #826169
square
#798261 #61827B #6A6182 #826169
split-complementary
#798261 #616982 #7B6182
monochromatic
#383C2D #585F47 #798261 #97A080 #B4BAA3

Accessibility & contrast

On white

4.06
#798261 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#798261 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798261
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798261#FFFFFF#000000##000000
##7982611.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867E5F
Deuteranopia (green-blind)
#857E62
Tritanopia (blue-blind)
#7C7F79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #798261;
/* rgb */ color: rgb(121, 130, 97);
/* oklch */ color: oklch(59.0% 0.049 120.3);
Tailwind
colors: {
  custom: {
    50: '#a0a68e',
    500: '#798261',
    950: '#000000',
  },
}
SCSS
$custom: #798261;
$custom-light: #a0a68e;
$custom-dark: #000000;
JSON
{
  "hex": "#798261",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 97
  },
  "hsl": {
    "h": 76.364,
    "s": 14.537,
    "l": 44.51
  },
  "oklch": {
    "l": 0.59002,
    "c": 0.04933,
    "h": 120.3
  },
  "luminance": 0.20893
}

Semantic roles & 50–950 ramp

primary
#798261
secondary
#9B96A9
accent
#70B784
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0E0F0C
muted
#7E7F7D

Preview Lab

Preview with #798261

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

Preview Lab → · Contrast checker → · Palette generator →

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