#799A31#799A31

#799A31 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 64.0% C 0.137 H 125.2°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#799A31
RGBrgb(121, 154, 49)
HSLhsl(79, 52%, 40%)
HSVhsv(79, 68%, 60%)
CMYKcmyk(21.4%, 0%, 68.2%, 39.6%)
CIE-LABlab(59.34, -27.37, 49.25)
CIE-LCHlch(59.34, 56.34, 119.07°)
OKLaboklab(64.02% -0.0787 0.1116)
OKLCHoklch(64.02% 0.137 125.2)
XYZxyz(19.9953, 27.3977, 7.1400)
Luminance0.2740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A31 #52319A
analogous
#9A8631 #799A31 #459A31
triadic
#799A31 #31799A #9A3179
tetradic
#799A31 #319A86 #52319A #9A3145
square
#799A31 #319A86 #52319A #9A3145
split-complementary
#799A31 #31459A #86319A
monochromatic
#303D13 #556C22 #799A31 #9CC445 #B4D273

Accessibility & contrast

On white

3.24
#799A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#799A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799A31
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799A31#FFFFFF#000000##000000
##799A311.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29022
Deuteranopia (green-blind)
#9E8E39
Tritanopia (blue-blind)
#7E9385
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799a31;
/* rgb */ color: rgb(121, 154, 49);
/* oklch */ color: oklch(64.0% 0.137 125.2);
Tailwind
colors: {
  custom: {
    50: '#a3b86f',
    500: '#799a31',
    950: '#000000',
  },
}
SCSS
$custom: #799a31;
$custom-light: #a3b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#799a31",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 49
  },
  "hsl": {
    "h": 78.857,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64015,
    "c": 0.13658,
    "h": 125.2
  },
  "luminance": 0.27398
}

Semantic roles & 50–950 ramp

primary
#799A31
secondary
#856CBA
accent
#4DDB79
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #799A31

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

Preview Lab → · Contrast checker → · Palette generator →

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