#799151#799151

#799151 is a light, moderate yellow-green. Relative luminance 0.249; OKLCH L 62.2% C 0.093 H 125.8°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#799151
RGBrgb(121, 145, 81)
HSLhsl(83, 28%, 44%)
HSVhsv(83, 44%, 57%)
CMYKcmyk(16.6%, 0%, 44.1%, 43.1%)
CIE-LABlab(56.99, -19.73, 31.13)
CIE-LCHlch(56.99, 36.85, 122.36°)
OKLaboklab(62.23% -0.0545 0.0756)
OKLCHoklch(62.23% 0.093 125.8)
XYZxyz(19.4956, 24.9097, 11.5639)
Luminance0.2491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799151 #695191
analogous
#918951 #799151 #599151
triadic
#799151 #517991 #915179
tetradic
#799151 #519189 #695191 #915159
square
#799151 #519189 #695191 #915159
split-complementary
#799151 #515991 #895191
monochromatic
#374225 #586A3B #799151 #97AF70 #B4C597

Accessibility & contrast

On white

3.51
#799151 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#799151 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799151
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799151#FFFFFF#000000##000000
##7991511.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978A4C
Deuteranopia (green-blind)
#948854
Tritanopia (blue-blind)
#7D8C82
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #799151;
/* rgb */ color: rgb(121, 145, 81);
/* oklch */ color: oklch(62.2% 0.093 125.8);
Tailwind
colors: {
  custom: {
    50: '#a1b183',
    500: '#799151',
    950: '#000000',
  },
}
SCSS
$custom: #799151;
$custom-light: #a1b183;
$custom-dark: #000000;
JSON
{
  "hex": "#799151",
  "rgb": {
    "r": 121,
    "g": 145,
    "b": 81
  },
  "hsl": {
    "h": 82.5,
    "s": 28.319,
    "l": 44.314
  },
  "oklch": {
    "l": 0.62232,
    "c": 0.09323,
    "h": 125.8
  },
  "luminance": 0.2491
}

Semantic roles & 50–950 ramp

primary
#799151
secondary
#9A8CB2
accent
#63C588
background
#FAFAF8
surface
#F3F5EF
border
#CDCFCA
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #799151

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

Preview Lab → · Contrast checker → · Palette generator →

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