#799F27#799F27

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

Color values

HEX#799F27
RGBrgb(121, 159, 39)
HSLhsl(79, 61%, 39%)
HSVhsv(79, 75%, 62%)
CMYKcmyk(23.9%, 0%, 75.5%, 37.6%)
CIE-LABlab(60.79, -30.40, 54.51)
CIE-LCHlch(60.79, 62.41, 119.15°)
OKLaboklab(65.17% -0.0879 0.1211)
OKLCHoklch(65.17% 0.15 126)
XYZxyz(20.6496, 29.0074, 6.4301)
Luminance0.2901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799F27 #4D279F
analogous
#9F8927 #799F27 #3D9F27
triadic
#799F27 #27799F #9F2779
tetradic
#799F27 #279F89 #4D279F #9F273D
square
#799F27 #279F89 #4D279F #9F273D
split-complementary
#799F27 #273D9F #89279F
monochromatic
#2E3D0F #546E1B #799F27 #9DCE36 #B5DA67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799F27#FFFFFF#000000##000000
##799F271.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)
#A8940D
Deuteranopia (green-blind)
#A39232
Tritanopia (blue-blind)
#7E9788
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #799f27;
/* rgb */ color: rgb(121, 159, 39);
/* oklch */ color: oklch(65.2% 0.150 126.0);
Tailwind
colors: {
  custom: {
    50: '#a3bb6a',
    500: '#799f27',
    950: '#000000',
  },
}
SCSS
$custom: #799f27;
$custom-light: #a3bb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#799f27",
  "rgb": {
    "r": 121,
    "g": 159,
    "b": 39
  },
  "hsl": {
    "h": 79,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65166,
    "c": 0.14963,
    "h": 126
  },
  "luminance": 0.29008
}

Semantic roles & 50–950 ramp

primary
#799F27
secondary
#8062C0
accent
#44E477
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #799F27

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

Preview Lab → · Contrast checker → · Palette generator →

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