#799517#799517

#799517 is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.6% C 0.145 H 122.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#799517
RGBrgb(121, 149, 23)
HSLhsl(73, 73%, 34%)
HSVhsv(73, 85%, 58%)
CMYKcmyk(18.8%, 0%, 84.6%, 41.6%)
CIE-LABlab(57.68, -26.31, 56.54)
CIE-LCHlch(57.68, 62.36, 114.95°)
OKLaboklab(62.62% -0.0779 0.1227)
OKLCHoklch(62.62% 0.145 122.4)
XYZxyz(18.7876, 25.6216, 4.7661)
Luminance0.2562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799517 #331795
analogous
#957217 #799517 #3A9517
triadic
#799517 #177995 #951779
tetradic
#799517 #179572 #331795 #95173A
square
#799517 #179572 #331795 #95173A
split-complementary
#799517 #173A95 #721795
monochromatic
#232B07 #4E600F #799517 #A4CA1F #BFE244

Accessibility & contrast

On white

3.43
#799517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#799517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799517
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799517#FFFFFF#000000##000000
##7995171.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9B8A26
Tritanopia (blue-blind)
#808D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #799517;
/* rgb */ color: rgb(121, 149, 23);
/* oklch */ color: oklch(62.6% 0.145 122.4);
Tailwind
colors: {
  custom: {
    50: '#a3b462',
    500: '#799517',
    950: '#000000',
  },
}
SCSS
$custom: #799517;
$custom-light: #a3b462;
$custom-dark: #000000;
JSON
{
  "hex": "#799517",
  "rgb": {
    "r": 121,
    "g": 149,
    "b": 23
  },
  "hsl": {
    "h": 73.333,
    "s": 73.256,
    "l": 33.725
  },
  "oklch": {
    "l": 0.62621,
    "c": 0.14535,
    "h": 122.4
  },
  "luminance": 0.25622
}

Semantic roles & 50–950 ramp

primary
#799517
secondary
#6145C3
accent
#38F061
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799517

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

Preview Lab → · Contrast checker → · Palette generator →

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