#798157#798157

#798157 is a mid, moderate yellow-green. Relative luminance 0.205; OKLCH L 58.6% C 0.061 H 117.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#798157
RGBrgb(121, 129, 87)
HSLhsl(71, 19%, 42%)
HSVhsv(71, 33%, 51%)
CMYKcmyk(6.2%, 0%, 32.6%, 49.4%)
CIE-LABlab(52.35, -10.39, 21.83)
CIE-LCHlch(52.35, 24.18, 115.44°)
OKLaboklab(58.55% -0.0278 0.0544)
OKLCHoklch(58.55% 0.061 117.1)
XYZxyz(17.4557, 20.4537, 12.0434)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798157 #5F5781
analogous
#817457 #798157 #648157
triadic
#798157 #577981 #815779
tetradic
#798157 #578174 #5F5781 #815764
square
#798157 #578174 #5F5781 #815764
split-complementary
#798157 #576481 #745781
monochromatic
#343826 #575C3E #798157 #99A174 #B4BA99

Accessibility & contrast

On white

4.13
#798157 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#798157 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798157
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798157#FFFFFF#000000##000000
##7981571.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877D54
Deuteranopia (green-blind)
#867D59
Tritanopia (blue-blind)
#7D7D76
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #798157;
/* rgb */ color: rgb(121, 129, 87);
/* oklch */ color: oklch(58.6% 0.061 117.1);
Tailwind
colors: {
  custom: {
    50: '#a0a587',
    500: '#798157',
    950: '#000000',
  },
}
SCSS
$custom: #798157;
$custom-light: #a0a587;
$custom-dark: #000000;
JSON
{
  "hex": "#798157",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 87
  },
  "hsl": {
    "h": 71.429,
    "s": 19.444,
    "l": 42.353
  },
  "oklch": {
    "l": 0.58552,
    "c": 0.06113,
    "h": 117.1
  },
  "luminance": 0.20454
}

Semantic roles & 50–950 ramp

primary
#798157
secondary
#918CA8
accent
#6CBC7B
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F0F0B
muted
#7E7F7C

Preview Lab

Preview with #798157

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

Preview Lab → · Contrast checker → · Palette generator →

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