#798457#798457

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

Color values

HEX#798457
RGBrgb(121, 132, 87)
HSLhsl(75, 21%, 43%)
HSVhsv(75, 34%, 52%)
CMYKcmyk(8.3%, 0%, 34.1%, 48.2%)
CIE-LABlab(53.23, -12.03, 23.00)
CIE-LCHlch(53.23, 25.96, 117.61°)
OKLaboklab(59.25% -0.0325 0.0572)
OKLCHoklch(59.25% 0.066 119.6)
XYZxyz(17.8567, 21.2556, 12.1770)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798457 #625784
analogous
#847857 #798457 #628457
triadic
#798457 #577984 #845779
tetradic
#798457 #578478 #625784 #845762
square
#798457 #578478 #625784 #845762
split-complementary
#798457 #576284 #785784
monochromatic
#353A26 #575F3F #798457 #98A474 #B4BC99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798457#FFFFFF#000000##000000
##7984571.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)
#8A7F54
Deuteranopia (green-blind)
#887F59
Tritanopia (blue-blind)
#7D7F78
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798457;
/* rgb */ color: rgb(121, 132, 87);
/* oklch */ color: oklch(59.3% 0.066 119.6);
Tailwind
colors: {
  custom: {
    50: '#a0a787',
    500: '#798457',
    950: '#000000',
  },
}
SCSS
$custom: #798457;
$custom-light: #a0a787;
$custom-dark: #000000;
JSON
{
  "hex": "#798457",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 87
  },
  "hsl": {
    "h": 74.667,
    "s": 20.548,
    "l": 42.941
  },
  "oklch": {
    "l": 0.59254,
    "c": 0.06576,
    "h": 119.6
  },
  "luminance": 0.21256
}

Semantic roles & 50–950 ramp

primary
#798457
secondary
#948DAA
accent
#6BBD7F
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F0F0B
muted
#7E7F7C

Preview Lab

Preview with #798457

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

Preview Lab → · Contrast checker → · Palette generator →

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