#798262#798262

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

Color values

HEX#798262
RGBrgb(121, 130, 98)
HSLhsl(77, 14%, 45%)
HSVhsv(77, 25%, 51%)
CMYKcmyk(6.9%, 0%, 24.6%, 49%)
CIE-LABlab(52.85, -9.27, 16.26)
CIE-LCHlch(52.85, 18.71, 119.68°)
OKLaboklab(59.03% -0.0244 0.0413)
OKLCHoklch(59.03% 0.048 120.6)
XYZxyz(18.0722, 20.9121, 14.6373)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798262 #6B6282
analogous
#827B62 #798262 #698262
triadic
#798262 #627982 #826279
tetradic
#798262 #62827B #6B6282 #826269
square
#798262 #62827B #6B6282 #826269
split-complementary
#798262 #626982 #7B6282
monochromatic
#383C2D #595F48 #798262 #97A081 #B4BAA4

Accessibility & contrast

On white

4.05
#798262 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##798262#FFFFFF#000000##000000
##7982621.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #798262;
/* rgb */ color: rgb(121, 130, 98);
/* oklch */ color: oklch(59.0% 0.048 120.6);
Tailwind
colors: {
  custom: {
    50: '#a0a68e',
    500: '#798262',
    950: '#000000',
  },
}
SCSS
$custom: #798262;
$custom-light: #a0a68e;
$custom-dark: #000000;
JSON
{
  "hex": "#798262",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 98
  },
  "hsl": {
    "h": 76.875,
    "s": 14.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.59025,
    "c": 0.04796,
    "h": 120.6
  },
  "luminance": 0.20912
}

Semantic roles & 50–950 ramp

primary
#798262
secondary
#9C97A9
accent
#71B785
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0E0F0C
muted
#7E7F7D

Preview Lab

Preview with #798262

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

Preview Lab → · Contrast checker → · Palette generator →

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