#799B1C#799B1C

#799B1C is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.1% C 0.150 H 124.4°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#799B1C
RGBrgb(121, 155, 28)
HSLhsl(76, 69%, 36%)
HSVhsv(76, 82%, 61%)
CMYKcmyk(21.9%, 0%, 81.9%, 39.2%)
CIE-LABlab(59.52, -29.03, 56.81)
CIE-LCHlch(59.52, 63.80, 117.06°)
OKLaboklab(64.12% -0.0849 0.1241)
OKLCHoklch(64.12% 0.15 124.4)
XYZxyz(19.8163, 27.5913, 5.3800)
Luminance0.2759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B1C #3E1C9B
analogous
#9B7D1C #799B1C #399B1C
triadic
#799B1C #1C799B #9B1C79
tetradic
#799B1C #1C9B7D #3E1C9B #9B1C39
square
#799B1C #1C9B7D #3E1C9B #9B1C39
split-complementary
#799B1C #1C399B #7D1C9B
monochromatic
#283309 #516713 #799B1C #A1CF25 #BAE052

Accessibility & contrast

On white

3.22
#799B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#799B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B1C
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B1C#FFFFFF#000000##000000
##799B1C1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A08F2A
Tritanopia (blue-blind)
#7F9384
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799b1c;
/* rgb */ color: rgb(121, 155, 28);
/* oklch */ color: oklch(64.1% 0.150 124.4);
Tailwind
colors: {
  custom: {
    50: '#a4b865',
    500: '#799b1c',
    950: '#000000',
  },
}
SCSS
$custom: #799b1c;
$custom-light: #a4b865;
$custom-dark: #000000;
JSON
{
  "hex": "#799b1c",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 28
  },
  "hsl": {
    "h": 76.063,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64118,
    "c": 0.15041,
    "h": 124.4
  },
  "luminance": 0.27591
}

Semantic roles & 50–950 ramp

primary
#799B1C
secondary
#6F50C3
accent
#3CEC6B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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