#798255#798255

#798255 is a mid, moderate yellow-green. Relative luminance 0.207; OKLCH L 58.7% C 0.065 H 117.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#798255
RGBrgb(121, 130, 85)
HSLhsl(72, 21%, 42%)
HSVhsv(72, 35%, 51%)
CMYKcmyk(6.9%, 0%, 34.6%, 49%)
CIE-LABlab(52.60, -11.22, 23.30)
CIE-LCHlch(52.60, 25.86, 115.71°)
OKLaboklab(58.75% -0.0303 0.0578)
OKLCHoklch(58.75% 0.065 117.7)
XYZxyz(17.5075, 20.6862, 11.6631)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798255 #5E5582
analogous
#827555 #798255 #638255
triadic
#798255 #557982 #825579
tetradic
#798255 #558275 #5E5582 #825563
square
#798255 #558275 #5E5582 #825563
split-complementary
#798255 #556382 #755582
monochromatic
#343825 #575D3D #798255 #99A372 #B4BB97

Accessibility & contrast

On white

4.09
#798255 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#798255 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798255
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798255#FFFFFF#000000##000000
##7982551.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887D52
Deuteranopia (green-blind)
#877E57
Tritanopia (blue-blind)
#7D7D77
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #798255;
/* rgb */ color: rgb(121, 130, 85);
/* oklch */ color: oklch(58.7% 0.065 117.7);
Tailwind
colors: {
  custom: {
    50: '#a0a685',
    500: '#798255',
    950: '#000000',
  },
}
SCSS
$custom: #798255;
$custom-light: #a0a685;
$custom-dark: #000000;
JSON
{
  "hex": "#798255",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 85
  },
  "hsl": {
    "h": 72,
    "s": 20.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58746,
    "c": 0.06526,
    "h": 117.7
  },
  "luminance": 0.20686
}

Semantic roles & 50–950 ramp

primary
#798255
secondary
#908BA8
accent
#6ABD7B
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F0F0B
muted
#7E7F7C

Preview Lab

Preview with #798255

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

Preview Lab → · Contrast checker → · Palette generator →

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