#799F31#799F31

#799F31 is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 65.2% C 0.143 H 126.6°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#799F31
RGBrgb(121, 159, 49)
HSLhsl(81, 53%, 41%)
HSVhsv(81, 69%, 62%)
CMYKcmyk(23.9%, 0%, 69.2%, 37.6%)
CIE-LABlab(60.85, -29.78, 50.81)
CIE-LCHlch(60.85, 58.90, 120.37°)
OKLaboklab(65.24% -0.0853 0.1149)
OKLCHoklch(65.24% 0.143 126.6)
XYZxyz(20.8377, 29.0826, 7.4208)
Luminance0.2908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799F31 #57319F
analogous
#9F8E31 #799F31 #429F31
triadic
#799F31 #31799F #9F3179
tetradic
#799F31 #319F8E #57319F #9F3142
square
#799F31 #319F8E #57319F #9F3142
split-complementary
#799F31 #31429F #8E319F
monochromatic
#324114 #557023 #799F31 #9AC647 #B4D576

Accessibility & contrast

On white

3.08
#799F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#799F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799F31
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799F31#FFFFFF#000000##000000
##799F311.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79421
Deuteranopia (green-blind)
#A2923A
Tritanopia (blue-blind)
#7E9889
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #799f31;
/* rgb */ color: rgb(121, 159, 49);
/* oklch */ color: oklch(65.2% 0.143 126.6);
Tailwind
colors: {
  custom: {
    50: '#a3bb70',
    500: '#799f31',
    950: '#000000',
  },
}
SCSS
$custom: #799f31;
$custom-light: #a3bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#799f31",
  "rgb": {
    "r": 121,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 80.727,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6524,
    "c": 0.14313,
    "h": 126.6
  },
  "luminance": 0.29083
}

Semantic roles & 50–950 ramp

primary
#799F31
secondary
#8A6FBD
accent
#4CDC7E
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1208
muted
#7F817B

Preview Lab

Preview with #799F31

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

Preview Lab → · Contrast checker → · Palette generator →

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