#799417#799417

#799417 is a light, vivid yellow-green. Relative luminance 0.253; OKLCH L 62.4% C 0.144 H 122.1°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#799417
RGBrgb(121, 148, 23)
HSLhsl(73, 73%, 34%)
HSVhsv(73, 84%, 58%)
CMYKcmyk(18.2%, 0%, 84.5%, 42%)
CIE-LABlab(57.37, -25.82, 56.28)
CIE-LCHlch(57.37, 61.92, 114.64°)
OKLaboklab(62.38% -0.0765 0.1222)
OKLCHoklch(62.38% 0.144 122.1)
XYZxyz(18.6300, 25.3066, 4.7136)
Luminance0.2531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799417 #321794
analogous
#947017 #799417 #3A9417
triadic
#799417 #177994 #941779
tetradic
#799417 #179470 #321794 #94173A
square
#799417 #179470 #321794 #94173A
split-complementary
#799417 #173A94 #701794
monochromatic
#222A07 #4E5F0F #799417 #A4C91F #C0E244

Accessibility & contrast

On white

3.46
#799417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#799417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799417
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799417#FFFFFF#000000##000000
##7994171.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#9A8A25
Tritanopia (blue-blind)
#808C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #799417;
/* rgb */ color: rgb(121, 148, 23);
/* oklch */ color: oklch(62.4% 0.144 122.1);
Tailwind
colors: {
  custom: {
    50: '#a3b362',
    500: '#799417',
    950: '#000000',
  },
}
SCSS
$custom: #799417;
$custom-light: #a3b362;
$custom-dark: #000000;
JSON
{
  "hex": "#799417",
  "rgb": {
    "r": 121,
    "g": 148,
    "b": 23
  },
  "hsl": {
    "h": 72.96,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62376,
    "c": 0.14417,
    "h": 122.1
  },
  "luminance": 0.25307
}

Semantic roles & 50–950 ramp

primary
#799417
secondary
#5F44C3
accent
#38F060
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799417

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

Preview Lab → · Contrast checker → · Palette generator →

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