#799722#799722

#799722 is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 63.2% C 0.142 H 123.4°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#799722
RGBrgb(121, 151, 34)
HSLhsl(75, 63%, 36%)
HSVhsv(75, 77%, 59%)
CMYKcmyk(19.9%, 0%, 77.5%, 40.8%)
CIE-LABlab(58.33, -26.82, 53.88)
CIE-LCHlch(58.33, 60.19, 116.46°)
OKLaboklab(63.17% -0.0785 0.119)
OKLCHoklch(63.17% 0.143 123.4)
XYZxyz(19.2407, 26.3135, 5.5784)
Luminance0.2631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799722 #402297
analogous
#977B22 #799722 #3F9722
triadic
#799722 #227997 #972279
tetradic
#799722 #22977B #402297 #97223F
square
#799722 #22977B #402297 #97223F
split-complementary
#799722 #223F97 #7B2297
monochromatic
#29330C #516517 #799722 #A1C92D #B9DA5A

Accessibility & contrast

On white

3.35
#799722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#799722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799722
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799722#FFFFFF#000000##000000
##7997221.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D04
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#7F8F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #799722;
/* rgb */ color: rgb(121, 151, 34);
/* oklch */ color: oklch(63.2% 0.142 123.4);
Tailwind
colors: {
  custom: {
    50: '#a3b567',
    500: '#799722',
    950: '#000000',
  },
}
SCSS
$custom: #799722;
$custom-light: #a3b567;
$custom-dark: #000000;
JSON
{
  "hex": "#799722",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 75.385,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63169,
    "c": 0.1425,
    "h": 123.4
  },
  "luminance": 0.26314
}

Semantic roles & 50–950 ramp

primary
#799722
secondary
#7157BE
accent
#42E66C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #799722

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

Preview Lab → · Contrast checker → · Palette generator →

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