#799C23#799C23

#799C23 is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.4% C 0.148 H 124.9°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#799C23
RGBrgb(121, 156, 35)
HSLhsl(77, 63%, 37%)
HSVhsv(77, 78%, 61%)
CMYKcmyk(22.4%, 0%, 77.6%, 38.8%)
CIE-LABlab(59.86, -29.19, 54.98)
CIE-LCHlch(59.86, 62.24, 117.96°)
OKLaboklab(64.4% -0.0849 0.1214)
OKLCHoklch(64.4% 0.148 124.9)
XYZxyz(20.0772, 27.9630, 5.9294)
Luminance0.2796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799C23 #46239C
analogous
#9C8223 #799C23 #3D9C23
triadic
#799C23 #23799C #9C2379
tetradic
#799C23 #239C82 #46239C #9C233D
square
#799C23 #239C82 #46239C #9C233D
split-complementary
#799C23 #233D9C #82239C
monochromatic
#2B380D #526A18 #799C23 #A0CE2E #B7DB5E

Accessibility & contrast

On white

3.19
#799C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#799C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799C23
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799C23#FFFFFF#000000##000000
##799C231.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59103
Deuteranopia (green-blind)
#A0902F
Tritanopia (blue-blind)
#7F9485
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799c23;
/* rgb */ color: rgb(121, 156, 35);
/* oklch */ color: oklch(64.4% 0.148 124.9);
Tailwind
colors: {
  custom: {
    50: '#a3b968',
    500: '#799c23',
    950: '#000000',
  },
}
SCSS
$custom: #799c23;
$custom-light: #a3b968;
$custom-dark: #000000;
JSON
{
  "hex": "#799c23",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 35
  },
  "hsl": {
    "h": 77.355,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64402,
    "c": 0.14815,
    "h": 124.9
  },
  "luminance": 0.27963
}

Semantic roles & 50–950 ramp

primary
#799C23
secondary
#785BC0
accent
#41E671
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #799C23

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

Preview Lab → · Contrast checker → · Palette generator →

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