#799B48#799B48

#799B48 is a light, moderate yellow-green. Relative luminance 0.280; OKLCH L 64.5% C 0.118 H 127.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#799B48
RGBrgb(121, 155, 72)
HSLhsl(85, 37%, 45%)
HSVhsv(85, 54%, 61%)
CMYKcmyk(21.9%, 0%, 53.5%, 39.2%)
CIE-LABlab(59.87, -25.82, 39.28)
CIE-LCHlch(59.87, 47.00, 123.32°)
OKLaboklab(64.51% -0.0722 0.0931)
OKLCHoklch(64.51% 0.118 127.8)
XYZxyz(20.7761, 27.9752, 10.4348)
Luminance0.2798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B48 #6A489B
analogous
#9B9448 #799B48 #509B48
triadic
#799B48 #48799B #9B4879
tetradic
#799B48 #489B94 #6A489B #9B4850
square
#799B48 #489B94 #6A489B #9B4850
split-complementary
#799B48 #48509B #94489B
monochromatic
#384721 #587135 #799B48 #97B968 #B4CC91

Accessibility & contrast

On white

3.18
#799B48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#799B48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B48
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B48#FFFFFF#000000##000000
##799B481.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29240
Deuteranopia (green-blind)
#9D904D
Tritanopia (blue-blind)
#7D9588
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799b48;
/* rgb */ color: rgb(121, 155, 72);
/* oklch */ color: oklch(64.5% 0.118 127.8);
Tailwind
colors: {
  custom: {
    50: '#a2b87d',
    500: '#799b48',
    950: '#000000',
  },
}
SCSS
$custom: #799b48;
$custom-light: #a2b87d;
$custom-dark: #000000;
JSON
{
  "hex": "#799b48",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 72
  },
  "hsl": {
    "h": 84.578,
    "s": 36.564,
    "l": 44.51
  },
  "oklch": {
    "l": 0.64512,
    "c": 0.11782,
    "h": 127.8
  },
  "luminance": 0.27976
}

Semantic roles & 50–950 ramp

primary
#799B48
secondary
#9B87B8
accent
#5BCD8A
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #799B48

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

Preview Lab → · Contrast checker → · Palette generator →

#799B48 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva