#799C27#799C27

#799C27 is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.4% C 0.146 H 125.1°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#799C27
RGBrgb(121, 156, 39)
HSLhsl(78, 60%, 38%)
HSVhsv(78, 75%, 61%)
CMYKcmyk(22.4%, 0%, 75%, 38.8%)
CIE-LABlab(59.88, -28.97, 53.63)
CIE-LCHlch(59.88, 60.96, 118.38°)
OKLaboklab(64.43% -0.084 0.1193)
OKLCHoklch(64.43% 0.146 125.1)
XYZxyz(20.1400, 27.9881, 6.2603)
Luminance0.2799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799C27 #4A279C
analogous
#9C8427 #799C27 #3E9C27
triadic
#799C27 #27799C #9C2779
tetradic
#799C27 #279C84 #4A279C #9C273E
square
#799C27 #279C84 #4A279C #9C273E
split-complementary
#799C27 #273E9C #84279C
monochromatic
#2D3A0F #536B1B #799C27 #9FCC34 #B6D865

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799C27#FFFFFF#000000##000000
##799C271.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)
#A5920F
Deuteranopia (green-blind)
#A09032
Tritanopia (blue-blind)
#7F9486
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799c27;
/* rgb */ color: rgb(121, 156, 39);
/* oklch */ color: oklch(64.4% 0.146 125.1);
Tailwind
colors: {
  custom: {
    50: '#a3b96a',
    500: '#799c27',
    950: '#000000',
  },
}
SCSS
$custom: #799c27;
$custom-light: #a3b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#799c27",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 39
  },
  "hsl": {
    "h": 77.949,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64428,
    "c": 0.14586,
    "h": 125.1
  },
  "luminance": 0.27988
}

Semantic roles & 50–950 ramp

primary
#799C27
secondary
#7D61BE
accent
#45E374
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799C27

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

Preview Lab → · Contrast checker → · Palette generator →

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