#799F2B#799F2B

#799F2B is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 65.2% C 0.147 H 126.2°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#799F2B
RGBrgb(121, 159, 43)
HSLhsl(80, 57%, 40%)
HSVhsv(80, 73%, 62%)
CMYKcmyk(23.9%, 0%, 73%, 37.6%)
CIE-LABlab(60.81, -30.17, 53.09)
CIE-LCHlch(60.81, 61.07, 119.61°)
OKLaboklab(65.19% -0.0869 0.1188)
OKLCHoklch(65.19% 0.147 126.2)
XYZxyz(20.7194, 29.0353, 6.7978)
Luminance0.2904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799F2B #512B9F
analogous
#9F8B2B #799F2B #3F9F2B
triadic
#799F2B #2B799F #9F2B79
tetradic
#799F2B #2B9F8B #512B9F #9F2B3F
square
#799F2B #2B9F8B #512B9F #9F2B3F
split-complementary
#799F2B #2B3F9F #8B2B9F
monochromatic
#303F11 #546F1E #799F2B #9CCA3D #B5D76D

Accessibility & contrast

On white

3.08
#799F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#799F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799F2B
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799F2B#FFFFFF#000000##000000
##799F2B1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89416
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#7E9788
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #799f2b;
/* rgb */ color: rgb(121, 159, 43);
/* oklch */ color: oklch(65.2% 0.147 126.2);
Tailwind
colors: {
  custom: {
    50: '#a3bb6c',
    500: '#799f2b',
    950: '#000000',
  },
}
SCSS
$custom: #799f2b;
$custom-light: #a3bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#799f2b",
  "rgb": {
    "r": 121,
    "g": 159,
    "b": 43
  },
  "hsl": {
    "h": 79.655,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65193,
    "c": 0.14718,
    "h": 126.2
  },
  "luminance": 0.29036
}

Semantic roles & 50–950 ramp

primary
#799F2B
secondary
#8467BE
accent
#47E179
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #799F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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