#799F1C#799F1C

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

Color values

HEX#799F1C
RGBrgb(121, 159, 28)
HSLhsl(77, 70%, 37%)
HSVhsv(77, 82%, 62%)
CMYKcmyk(23.9%, 0%, 82.4%, 37.6%)
CIE-LABlab(60.73, -30.93, 57.90)
CIE-LCHlch(60.73, 65.64, 118.11°)
OKLaboklab(65.1% -0.0901 0.1264)
OKLCHoklch(65.1% 0.155 125.5)
XYZxyz(20.4931, 28.9448, 5.6056)
Luminance0.2894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799F1C #421C9F
analogous
#9F841C #799F1C #379F1C
triadic
#799F1C #1C799F #9F1C79
tetradic
#799F1C #1C9F84 #421C9F #9F1C37
square
#799F1C #1C9F84 #421C9F #9F1C37
split-complementary
#799F1C #1C379F #841C9F
monochromatic
#2A370A #516B13 #799F1C #A1D325 #B8E154

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799F1C#FFFFFF#000000##000000
##799F1C1.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)
#A3922B
Tritanopia (blue-blind)
#7F9787
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #799f1c;
/* rgb */ color: rgb(121, 159, 28);
/* oklch */ color: oklch(65.1% 0.155 125.5);
Tailwind
colors: {
  custom: {
    50: '#a4bb66',
    500: '#799f1c',
    950: '#000000',
  },
}
SCSS
$custom: #799f1c;
$custom-light: #a4bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#799f1c",
  "rgb": {
    "r": 121,
    "g": 159,
    "b": 28
  },
  "hsl": {
    "h": 77.405,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65103,
    "c": 0.15526,
    "h": 125.5
  },
  "luminance": 0.28945
}

Semantic roles & 50–950 ramp

primary
#799F1C
secondary
#7453C4
accent
#3BED6F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #799F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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