#799017#799017

#799017 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.4% C 0.139 H 120.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#799017
RGBrgb(121, 144, 23)
HSLhsl(71, 72%, 33%)
HSVhsv(71, 84%, 56%)
CMYKcmyk(16%, 0%, 84%, 43.5%)
CIE-LABlab(56.16, -23.84, 55.23)
CIE-LCHlch(56.16, 60.15, 113.35°)
OKLaboklab(61.4% -0.0711 0.1199)
OKLCHoklch(61.4% 0.139 120.7)
XYZxyz(18.0134, 24.0734, 4.5081)
Luminance0.2407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799017 #2E1790
analogous
#906A17 #799017 #3C9017
triadic
#799017 #177990 #901779
tetradic
#799017 #17906A #2E1790 #90173C
square
#799017 #17906A #2E1790 #90173C
split-complementary
#799017 #173C90 #6A1790
monochromatic
#202606 #4D5B0F #799017 #A5C51F #C2E141

Accessibility & contrast

On white

3.61
#799017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#799017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799017
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799017#FFFFFF#000000##000000
##7990171.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#80887A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #799017;
/* rgb */ color: rgb(121, 144, 23);
/* oklch */ color: oklch(61.4% 0.139 120.7);
Tailwind
colors: {
  custom: {
    50: '#a3b061',
    500: '#799017',
    950: '#000000',
  },
}
SCSS
$custom: #799017;
$custom-light: #a3b061;
$custom-dark: #000000;
JSON
{
  "hex": "#799017",
  "rgb": {
    "r": 121,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 71.405,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61397,
    "c": 0.13942,
    "h": 120.7
  },
  "luminance": 0.24073
}

Semantic roles & 50–950 ramp

primary
#799017
secondary
#5A42C1
accent
#39EF5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #799017

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

Preview Lab → · Contrast checker → · Palette generator →

#799017 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva