#799F17#799F17

#799F17 is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 65.1% C 0.157 H 125.3°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#799F17
RGBrgb(121, 159, 23)
HSLhsl(77, 75%, 36%)
HSVhsv(77, 86%, 62%)
CMYKcmyk(23.9%, 0%, 85.5%, 37.6%)
CIE-LABlab(60.71, -31.11, 59.17)
CIE-LCHlch(60.71, 66.85, 117.74°)
OKLaboklab(65.08% -0.0909 0.1284)
OKLCHoklch(65.08% 0.157 125.3)
XYZxyz(20.4381, 28.9228, 5.3163)
Luminance0.2892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799F17 #3D179F
analogous
#9F8117 #799F17 #359F17
triadic
#799F17 #17799F #9F1779
tetradic
#799F17 #179F81 #3D179F #9F1735
square
#799F17 #179F81 #3D179F #9F1735
split-complementary
#799F17 #17359F #81179F
monochromatic
#283408 #506A0F #799F17 #A2D41F #BAE54B

Accessibility & contrast

On white

3.10
#799F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#799F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799F17
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799F17#FFFFFF#000000##000000
##799F171.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A39228
Tritanopia (blue-blind)
#7F9787
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #799f17;
/* rgb */ color: rgb(121, 159, 23);
/* oklch */ color: oklch(65.1% 0.157 125.3);
Tailwind
colors: {
  custom: {
    50: '#a4bb64',
    500: '#799f17',
    950: '#000000',
  },
}
SCSS
$custom: #799f17;
$custom-light: #a4bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#799f17",
  "rgb": {
    "r": 121,
    "g": 159,
    "b": 23
  },
  "hsl": {
    "h": 76.765,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.65081,
    "c": 0.15728,
    "h": 125.3
  },
  "luminance": 0.28923
}

Semantic roles & 50–950 ramp

primary
#799F17
secondary
#6E4BC7
accent
#36F16B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #799F17

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

Preview Lab → · Contrast checker → · Palette generator →

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