#798B4E#798B4E

#798B4E is a mid, moderate yellow-green. Relative luminance 0.231; OKLCH L 60.7% C 0.088 H 122.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#798B4E
RGBrgb(121, 139, 78)
HSLhsl(78, 28%, 43%)
HSVhsv(78, 44%, 55%)
CMYKcmyk(12.9%, 0%, 43.9%, 45.5%)
CIE-LABlab(55.15, -16.97, 30.42)
CIE-LCHlch(55.15, 34.84, 119.16°)
OKLaboklab(60.75% -0.047 0.0739)
OKLCHoklch(60.75% 0.088 122.5)
XYZxyz(18.4929, 23.0802, 10.6869)
Luminance0.2308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798B4E #604E8B
analogous
#8B7F4E #798B4E #5A8B4E
triadic
#798B4E #4E798B #8B4E79
tetradic
#798B4E #4E8B7F #604E8B #8B4E5A
square
#798B4E #4E8B7F #604E8B #8B4E5A
split-complementary
#798B4E #4E5A8B #7F4E8B
monochromatic
#353D22 #576438 #798B4E #98AC6B #B4C292

Accessibility & contrast

On white

3.74
#798B4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#798B4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798B4E
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798B4E#FFFFFF#000000##000000
##798B4E1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918449
Deuteranopia (green-blind)
#8F8451
Tritanopia (blue-blind)
#7D867C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #798b4e;
/* rgb */ color: rgb(121, 139, 78);
/* oklch */ color: oklch(60.7% 0.088 122.5);
Tailwind
colors: {
  custom: {
    50: '#a1ad80',
    500: '#798b4e',
    950: '#000000',
  },
}
SCSS
$custom: #798b4e;
$custom-light: #a1ad80;
$custom-dark: #000000;
JSON
{
  "hex": "#798b4e",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 78
  },
  "hsl": {
    "h": 77.705,
    "s": 28.111,
    "l": 42.549
  },
  "oklch": {
    "l": 0.60747,
    "c": 0.08755,
    "h": 122.5
  },
  "luminance": 0.2308
}

Semantic roles & 50–950 ramp

primary
#798B4E
secondary
#9287AE
accent
#63C480
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #798B4E

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

Preview Lab → · Contrast checker → · Palette generator →

#798B4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva