#799F18#799F18

#799F18 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.79:1 contrast (WCAG AA passes).

Color values

HEX#799F18
RGBrgb(121, 159, 24)
HSLhsl(77, 74%, 36%)
HSVhsv(77, 85%, 62%)
CMYKcmyk(23.9%, 0%, 84.9%, 37.6%)
CIE-LABlab(60.72, -31.08, 58.93)
CIE-LCHlch(60.72, 66.62, 117.81°)
OKLaboklab(65.09% -0.0907 0.128)
OKLCHoklch(65.09% 0.157 125.3)
XYZxyz(20.4484, 28.9269, 5.3701)
Luminance0.2893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799F18 #3E189F
analogous
#9F8118 #799F18 #359F18
triadic
#799F18 #18799F #9F1879
tetradic
#799F18 #189F81 #3E189F #9F1835
square
#799F18 #189F81 #3E189F #9F1835
split-complementary
#799F18 #18359F #81189F
monochromatic
#283508 #516A10 #799F18 #A1D420 #BAE44D

Accessibility & contrast

On white

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

On black

6.79
#799F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799F18
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799F18#FFFFFF#000000##000000
##799F181.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.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: #799f18;
/* rgb */ color: rgb(121, 159, 24);
/* oklch */ color: oklch(65.1% 0.157 125.3);
Tailwind
colors: {
  custom: {
    50: '#a4bb64',
    500: '#799f18',
    950: '#000000',
  },
}
SCSS
$custom: #799f18;
$custom-light: #a4bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#799f18",
  "rgb": {
    "r": 121,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 76.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65085,
    "c": 0.15691,
    "h": 125.3
  },
  "luminance": 0.28927
}

Semantic roles & 50–950 ramp

primary
#799F18
secondary
#6F4DC6
accent
#37F06B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #799F18

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

Preview Lab → · Contrast checker → · Palette generator →

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