#798458#798458

#798458 is a mid, moderate yellow-green. Relative luminance 0.213; OKLCH L 59.3% C 0.064 H 119.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#798458
RGBrgb(121, 132, 88)
HSLhsl(75, 20%, 43%)
HSVhsv(75, 33%, 52%)
CMYKcmyk(8.3%, 0%, 33.3%, 48.2%)
CIE-LABlab(53.25, -11.89, 22.46)
CIE-LCHlch(53.25, 25.41, 117.89°)
OKLaboklab(59.28% -0.0321 0.0559)
OKLCHoklch(59.28% 0.064 119.8)
XYZxyz(17.8978, 21.2721, 12.3937)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798458 #635884
analogous
#847958 #798458 #638458
triadic
#798458 #587984 #845879
tetradic
#798458 #588479 #635884 #845863
square
#798458 #588479 #635884 #845863
split-complementary
#798458 #586384 #795884
monochromatic
#363B27 #575F40 #798458 #98A376 #B4BC9A

Accessibility & contrast

On white

4.00
#798458 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#798458 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798458
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798458#FFFFFF#000000##000000
##7984581.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897F55
Deuteranopia (green-blind)
#887F5A
Tritanopia (blue-blind)
#7D8079
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798458;
/* rgb */ color: rgb(121, 132, 88);
/* oklch */ color: oklch(59.3% 0.064 119.8);
Tailwind
colors: {
  custom: {
    50: '#a0a787',
    500: '#798458',
    950: '#000000',
  },
}
SCSS
$custom: #798458;
$custom-light: #a0a787;
$custom-dark: #000000;
JSON
{
  "hex": "#798458",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 88
  },
  "hsl": {
    "h": 75,
    "s": 20,
    "l": 43.137
  },
  "oklch": {
    "l": 0.59275,
    "c": 0.06447,
    "h": 119.8
  },
  "luminance": 0.21272
}

Semantic roles & 50–950 ramp

primary
#798458
secondary
#958EAA
accent
#6BBD80
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F0F0B
muted
#7E7F7C

Preview Lab

Preview with #798458

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

Preview Lab → · Contrast checker → · Palette generator →

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