#799F28#799F28

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

Color values

HEX#799F28
RGBrgb(121, 159, 40)
HSLhsl(79, 60%, 39%)
HSVhsv(79, 75%, 62%)
CMYKcmyk(23.9%, 0%, 74.8%, 37.6%)
CIE-LABlab(60.79, -30.35, 54.16)
CIE-LCHlch(60.79, 62.09, 119.26°)
OKLaboklab(65.17% -0.0876 0.1206)
OKLCHoklch(65.17% 0.149 126)
XYZxyz(20.6664, 29.0141, 6.5186)
Luminance0.2901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799F28 #4E289F
analogous
#9F8A28 #799F28 #3D9F28
triadic
#799F28 #28799F #9F2879
tetradic
#799F28 #289F8A #4E289F #9F283D
square
#799F28 #289F8A #4E289F #9F283D
split-complementary
#799F28 #283D9F #8A289F
monochromatic
#2F3D0F #546E1C #799F28 #9DCD37 #B5D968

Accessibility & contrast

On white

3.09
#799F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#799F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799F28
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799F28#FFFFFF#000000##000000
##799F281.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #799f28;
/* rgb */ color: rgb(121, 159, 40);
/* oklch */ color: oklch(65.2% 0.149 126.0);
Tailwind
colors: {
  custom: {
    50: '#a3bb6b',
    500: '#799f28',
    950: '#000000',
  },
}
SCSS
$custom: #799f28;
$custom-light: #a3bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#799f28",
  "rgb": {
    "r": 121,
    "g": 159,
    "b": 40
  },
  "hsl": {
    "h": 79.16,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65172,
    "c": 0.14903,
    "h": 126
  },
  "luminance": 0.29014
}

Semantic roles & 50–950 ramp

primary
#799F28
secondary
#8164BF
accent
#45E377
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #799F28

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

Preview Lab → · Contrast checker → · Palette generator →

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