#799F1B#799F1B

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

Color values

HEX#799F1B
RGBrgb(121, 159, 27)
HSLhsl(77, 71%, 36%)
HSVhsv(77, 83%, 62%)
CMYKcmyk(23.9%, 0%, 83%, 37.6%)
CIE-LABlab(60.73, -30.97, 58.16)
CIE-LCHlch(60.73, 65.89, 118.03°)
OKLaboklab(65.1% -0.0903 0.1269)
OKLCHoklch(65.1% 0.156 125.4)
XYZxyz(20.4813, 28.9401, 5.5436)
Luminance0.2894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799F1B #411B9F
analogous
#9F831B #799F1B #379F1B
triadic
#799F1B #1B799F #9F1B79
tetradic
#799F1B #1B9F83 #411B9F #9F1B37
square
#799F1B #1B9F83 #411B9F #9F1B37
split-complementary
#799F1B #1B379F #831B9F
monochromatic
#293609 #516B12 #799F1B #A1D324 #B9E253

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #799f1b;
/* rgb */ color: rgb(121, 159, 27);
/* oklch */ color: oklch(65.1% 0.156 125.4);
Tailwind
colors: {
  custom: {
    50: '#a4bb65',
    500: '#799f1b',
    950: '#000000',
  },
}
SCSS
$custom: #799f1b;
$custom-light: #a4bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#799f1b",
  "rgb": {
    "r": 121,
    "g": 159,
    "b": 27
  },
  "hsl": {
    "h": 77.273,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65098,
    "c": 0.15569,
    "h": 125.4
  },
  "luminance": 0.2894
}

Semantic roles & 50–950 ramp

primary
#799F1B
secondary
#7251C5
accent
#3AEE6E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #799F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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