#799D1D#799D1D

#799D1D is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.6% C 0.152 H 125.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#799D1D
RGBrgb(121, 157, 29)
HSLhsl(77, 69%, 36%)
HSVhsv(77, 82%, 62%)
CMYKcmyk(22.9%, 0%, 81.5%, 38.4%)
CIE-LABlab(60.13, -29.94, 57.08)
CIE-LCHlch(60.13, 64.45, 117.68°)
OKLaboklab(64.61% -0.0873 0.1249)
OKLCHoklch(64.61% 0.152 125)
XYZxyz(20.1641, 28.2673, 5.5560)
Luminance0.2827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D1D #411D9D
analogous
#9D811D #799D1D #399D1D
triadic
#799D1D #1D799D #9D1D79
tetradic
#799D1D #1D9D81 #411D9D #9D1D39
square
#799D1D #1D9D81 #411D9D #9D1D39
split-complementary
#799D1D #1D399D #811D9D
monochromatic
#29360A #516913 #799D1D #A1D127 #B9E055

Accessibility & contrast

On white

3.16
#799D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#799D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799D1D
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799D1D#FFFFFF#000000##000000
##799D1D1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #799d1d;
/* rgb */ color: rgb(121, 157, 29);
/* oklch */ color: oklch(64.6% 0.152 125.0);
Tailwind
colors: {
  custom: {
    50: '#a4ba66',
    500: '#799d1d',
    950: '#000000',
  },
}
SCSS
$custom: #799d1d;
$custom-light: #a4ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#799d1d",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 29
  },
  "hsl": {
    "h": 76.875,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64615,
    "c": 0.15239,
    "h": 125
  },
  "luminance": 0.28268
}

Semantic roles & 50–950 ramp

primary
#799D1D
secondary
#7253C3
accent
#3CEC6E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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