#798253#798253

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

Color values

HEX#798253
RGBrgb(121, 130, 83)
HSLhsl(71, 22%, 42%)
HSVhsv(71, 36%, 51%)
CMYKcmyk(6.9%, 0%, 36.2%, 49%)
CIE-LABlab(52.57, -11.50, 24.37)
CIE-LCHlch(52.57, 26.95, 115.25°)
OKLaboklab(58.71% -0.0312 0.0602)
OKLCHoklch(58.71% 0.068 117.4)
XYZxyz(17.4291, 20.6549, 11.2505)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798253 #5C5382
analogous
#827453 #798253 #628253
triadic
#798253 #537982 #825379
tetradic
#798253 #538274 #5C5382 #825362
square
#798253 #538274 #5C5382 #825362
split-complementary
#798253 #536282 #745382
monochromatic
#333723 #565D3B #798253 #99A36F #B4BB94

Accessibility & contrast

On white

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

On black

5.13
#798253 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798253
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798253#FFFFFF#000000##000000
##7982531.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887D50
Deuteranopia (green-blind)
#877E55
Tritanopia (blue-blind)
#7E7D76
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #798253;
/* rgb */ color: rgb(121, 130, 83);
/* oklch */ color: oklch(58.7% 0.068 117.4);
Tailwind
colors: {
  custom: {
    50: '#a0a684',
    500: '#798253',
    950: '#000000',
  },
}
SCSS
$custom: #798253;
$custom-light: #a0a684;
$custom-dark: #000000;
JSON
{
  "hex": "#798253",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 83
  },
  "hsl": {
    "h": 71.489,
    "s": 22.066,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58707,
    "c": 0.06784,
    "h": 117.4
  },
  "luminance": 0.20655
}

Semantic roles & 50–950 ramp

primary
#798253
secondary
#8F89A8
accent
#69BF7A
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F0F0B
muted
#7E7F7C

Preview Lab

Preview with #798253

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

Preview Lab → · Contrast checker → · Palette generator →

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