#799D1C#799D1C

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

Color values

HEX#799D1C
RGBrgb(121, 157, 28)
HSLhsl(77, 70%, 36%)
HSVhsv(77, 82%, 62%)
CMYKcmyk(22.9%, 0%, 82.2%, 38.4%)
CIE-LABlab(60.13, -29.98, 57.35)
CIE-LCHlch(60.13, 64.72, 117.60°)
OKLaboklab(64.61% -0.0875 0.1253)
OKLCHoklch(64.61% 0.153 124.9)
XYZxyz(20.1519, 28.2625, 5.4919)
Luminance0.2826 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D1C #401C9D
analogous
#9D811C #799D1C #399D1C
triadic
#799D1C #1C799D #9D1C79
tetradic
#799D1C #1C9D81 #401C9D #9D1C39
square
#799D1C #1C9D81 #401C9D #9D1C39
split-complementary
#799D1C #1C399D #811C9D
monochromatic
#293509 #516913 #799D1C #A1D125 #B9E053

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799D1C#FFFFFF#000000##000000
##799D1C1.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)
#A1902A
Tritanopia (blue-blind)
#7F9586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799d1c;
/* rgb */ color: rgb(121, 157, 28);
/* oklch */ color: oklch(64.6% 0.153 124.9);
Tailwind
colors: {
  custom: {
    50: '#a4ba65',
    500: '#799d1c',
    950: '#000000',
  },
}
SCSS
$custom: #799d1c;
$custom-light: #a4ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#799d1c",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 28
  },
  "hsl": {
    "h": 76.744,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6461,
    "c": 0.15284,
    "h": 124.9
  },
  "luminance": 0.28263
}

Semantic roles & 50–950 ramp

primary
#799D1C
secondary
#7151C3
accent
#3BED6D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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