#799D31#799D31

#799D31 is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.8% C 0.141 H 126.0°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#799D31
RGBrgb(121, 157, 49)
HSLhsl(80, 52%, 40%)
HSVhsv(80, 69%, 62%)
CMYKcmyk(22.9%, 0%, 68.8%, 38.4%)
CIE-LABlab(60.25, -28.82, 50.19)
CIE-LCHlch(60.25, 57.88, 119.87°)
OKLaboklab(64.75% -0.0827 0.1136)
OKLCHoklch(64.75% 0.141 126)
XYZxyz(20.4966, 28.4003, 7.3071)
Luminance0.2840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D31 #55319D
analogous
#9D8B31 #799D31 #439D31
triadic
#799D31 #31799D #9D3179
tetradic
#799D31 #319D8B #55319D #9D3143
square
#799D31 #319D8B #55319D #9D3143
split-complementary
#799D31 #31439D #8B319D
monochromatic
#314014 #556E22 #799D31 #9BC546 #B4D475

Accessibility & contrast

On white

3.14
#799D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#799D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799D31
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799D31#FFFFFF#000000##000000
##799D311.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59321
Deuteranopia (green-blind)
#A0913A
Tritanopia (blue-blind)
#7E9687
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799d31;
/* rgb */ color: rgb(121, 157, 49);
/* oklch */ color: oklch(64.8% 0.141 126.0);
Tailwind
colors: {
  custom: {
    50: '#a3ba6f',
    500: '#799d31',
    950: '#000000',
  },
}
SCSS
$custom: #799d31;
$custom-light: #a3ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#799d31",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 80,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6475,
    "c": 0.14051,
    "h": 126
  },
  "luminance": 0.28401
}

Semantic roles & 50–950 ramp

primary
#799D31
secondary
#886EBC
accent
#4CDC7C
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #799D31

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

Preview Lab → · Contrast checker → · Palette generator →

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