#799B31#799B31

#799B31 is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 64.3% C 0.138 H 125.5°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#799B31
RGBrgb(121, 155, 49)
HSLhsl(79, 52%, 40%)
HSVhsv(79, 68%, 61%)
CMYKcmyk(21.9%, 0%, 68.4%, 39.2%)
CIE-LABlab(59.64, -27.86, 49.56)
CIE-LCHlch(59.64, 56.85, 119.34°)
OKLaboklab(64.26% -0.08 0.1123)
OKLCHoklch(64.26% 0.138 125.5)
XYZxyz(20.1610, 27.7291, 7.1952)
Luminance0.2773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B31 #53319B
analogous
#9B8831 #799B31 #449B31
triadic
#799B31 #31799B #9B3179
tetradic
#799B31 #319B88 #53319B #9B3144
square
#799B31 #319B88 #53319B #9B3144
split-complementary
#799B31 #31449B #88319B
monochromatic
#303E14 #556D22 #799B31 #9BC445 #B4D373

Accessibility & contrast

On white

3.21
#799B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#799B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B31
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B31#FFFFFF#000000##000000
##799B311.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39122
Deuteranopia (green-blind)
#9F8F39
Tritanopia (blue-blind)
#7E9486
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799b31;
/* rgb */ color: rgb(121, 155, 49);
/* oklch */ color: oklch(64.3% 0.138 125.5);
Tailwind
colors: {
  custom: {
    50: '#a3b86f',
    500: '#799b31',
    950: '#000000',
  },
}
SCSS
$custom: #799b31;
$custom-light: #a3b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#799b31",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 79.245,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.6426,
    "c": 0.13789,
    "h": 125.5
  },
  "luminance": 0.27729
}

Semantic roles & 50–950 ramp

primary
#799B31
secondary
#866DBB
accent
#4CDB7A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #799B31

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

Preview Lab → · Contrast checker → · Palette generator →

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