#798155#798155

#798155 is a mid, moderate yellow-green. Relative luminance 0.204; OKLCH L 58.5% C 0.064 H 116.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#798155
RGBrgb(121, 129, 85)
HSLhsl(71, 21%, 42%)
HSVhsv(71, 34%, 51%)
CMYKcmyk(6.2%, 0%, 34.1%, 49.4%)
CIE-LABlab(52.31, -10.67, 22.91)
CIE-LCHlch(52.31, 25.28, 114.97°)
OKLaboklab(58.51% -0.0287 0.0569)
OKLCHoklch(58.51% 0.064 116.8)
XYZxyz(17.3751, 20.4215, 11.6190)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798155 #5D5581
analogous
#817355 #798155 #638155
triadic
#798155 #557981 #815579
tetradic
#798155 #558173 #5D5581 #815563
square
#798155 #558173 #5D5581 #815563
split-complementary
#798155 #556381 #735581
monochromatic
#343724 #565C3D #798155 #99A271 #B4BA96

Accessibility & contrast

On white

4.13
#798155 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#798155 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798155
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798155#FFFFFF#000000##000000
##7981551.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877D52
Deuteranopia (green-blind)
#867D57
Tritanopia (blue-blind)
#7E7C76
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #798155;
/* rgb */ color: rgb(121, 129, 85);
/* oklch */ color: oklch(58.5% 0.064 116.8);
Tailwind
colors: {
  custom: {
    50: '#a0a585',
    500: '#798155',
    950: '#000000',
  },
}
SCSS
$custom: #798155;
$custom-light: #a0a585;
$custom-dark: #000000;
JSON
{
  "hex": "#798155",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 85
  },
  "hsl": {
    "h": 70.909,
    "s": 20.561,
    "l": 41.961
  },
  "oklch": {
    "l": 0.58511,
    "c": 0.06375,
    "h": 116.8
  },
  "luminance": 0.20421
}

Semantic roles & 50–950 ramp

primary
#798155
secondary
#908AA8
accent
#6BBD7A
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F0F0B
muted
#7E7F7C

Preview Lab

Preview with #798155

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

Preview Lab → · Contrast checker → · Palette generator →

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