#799D27#799D27

#799D27 is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.7% C 0.147 H 125.4°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#799D27
RGBrgb(121, 157, 39)
HSLhsl(78, 60%, 38%)
HSVhsv(78, 75%, 62%)
CMYKcmyk(22.9%, 0%, 75.2%, 38.4%)
CIE-LABlab(60.18, -29.45, 53.92)
CIE-LCHlch(60.18, 61.44, 118.64°)
OKLaboklab(64.67% -0.0853 0.1199)
OKLCHoklch(64.67% 0.147 125.4)
XYZxyz(20.3085, 28.3251, 6.3164)
Luminance0.2833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D27 #4B279D
analogous
#9D8627 #799D27 #3E9D27
triadic
#799D27 #27799D #9D2779
tetradic
#799D27 #279D86 #4B279D #9D273E
square
#799D27 #279D86 #4B279D #9D273E
split-complementary
#799D27 #273E9D #86279D
monochromatic
#2D3B0F #536C1B #799D27 #9ECD35 #B6D966

Accessibility & contrast

On white

3.15
#799D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#799D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799D27
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799D27#FFFFFF#000000##000000
##799D271.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6920E
Deuteranopia (green-blind)
#A19132
Tritanopia (blue-blind)
#7F9586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799d27;
/* rgb */ color: rgb(121, 157, 39);
/* oklch */ color: oklch(64.7% 0.147 125.4);
Tailwind
colors: {
  custom: {
    50: '#a3ba6a',
    500: '#799d27',
    950: '#000000',
  },
}
SCSS
$custom: #799d27;
$custom-light: #a3ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#799d27",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 39
  },
  "hsl": {
    "h": 78.305,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64674,
    "c": 0.14712,
    "h": 125.4
  },
  "luminance": 0.28325
}

Semantic roles & 50–950 ramp

primary
#799D27
secondary
#7E61BF
accent
#44E375
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799D27

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

Preview Lab → · Contrast checker → · Palette generator →

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