#799C31#799C31

#799C31 is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.5% C 0.139 H 125.8°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#799C31
RGBrgb(121, 156, 49)
HSLhsl(80, 52%, 40%)
HSVhsv(80, 69%, 61%)
CMYKcmyk(22.4%, 0%, 68.6%, 38.8%)
CIE-LABlab(59.95, -28.34, 49.88)
CIE-LCHlch(59.95, 57.36, 119.61°)
OKLaboklab(64.51% -0.0813 0.113)
OKLCHoklch(64.51% 0.139 125.8)
XYZxyz(20.3281, 28.0634, 7.2509)
Luminance0.2806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799C31 #54319C
analogous
#9C8931 #799C31 #449C31
triadic
#799C31 #31799C #9C3179
tetradic
#799C31 #319C89 #54319C #9C3144
square
#799C31 #319C89 #54319C #9C3144
split-complementary
#799C31 #31449C #89319C
monochromatic
#313F14 #556D22 #799C31 #9BC545 #B4D374

Accessibility & contrast

On white

3.18
#799C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#799C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799C31
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799C31#FFFFFF#000000##000000
##799C311.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49221
Deuteranopia (green-blind)
#A0903A
Tritanopia (blue-blind)
#7E9586
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799c31;
/* rgb */ color: rgb(121, 156, 49);
/* oklch */ color: oklch(64.5% 0.139 125.8);
Tailwind
colors: {
  custom: {
    50: '#a3b96f',
    500: '#799c31',
    950: '#000000',
  },
}
SCSS
$custom: #799c31;
$custom-light: #a3b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#799c31",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 49
  },
  "hsl": {
    "h": 79.626,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64505,
    "c": 0.1392,
    "h": 125.8
  },
  "luminance": 0.28064
}

Semantic roles & 50–950 ramp

primary
#799C31
secondary
#876DBB
accent
#4CDC7B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #799C31

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

Preview Lab → · Contrast checker → · Palette generator →

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