#799D2C#799D2C

#799D2C is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.7% C 0.144 H 125.7°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#799D2C
RGBrgb(121, 157, 44)
HSLhsl(79, 56%, 39%)
HSVhsv(79, 72%, 62%)
CMYKcmyk(22.9%, 0%, 72%, 38.4%)
CIE-LABlab(60.21, -29.15, 52.12)
CIE-LCHlch(60.21, 59.72, 119.22°)
OKLaboklab(64.71% -0.084 0.1169)
OKLCHoklch(64.71% 0.144 125.7)
XYZxyz(20.3969, 28.3605, 6.7819)
Luminance0.2836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D2C #502C9D
analogous
#9D892C #799D2C #419D2C
triadic
#799D2C #2C799D #9D2C79
tetradic
#799D2C #2C9D89 #502C9D #9D2C41
square
#799D2C #2C9D89 #502C9D #9D2C41
split-complementary
#799D2C #2C419D #892C9D
monochromatic
#2F3D11 #546D1F #799D2C #9CC93D #B5D66D

Accessibility & contrast

On white

3.15
#799D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#799D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799D2C
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799D2C#FFFFFF#000000##000000
##799D2C1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69219
Deuteranopia (green-blind)
#A19136
Tritanopia (blue-blind)
#7E9587
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799d2c;
/* rgb */ color: rgb(121, 157, 44);
/* oklch */ color: oklch(64.7% 0.144 125.7);
Tailwind
colors: {
  custom: {
    50: '#a3ba6d',
    500: '#799d2c',
    950: '#000000',
  },
}
SCSS
$custom: #799d2c;
$custom-light: #a3ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#799d2c",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 44
  },
  "hsl": {
    "h": 79.115,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6471,
    "c": 0.14398,
    "h": 125.7
  },
  "luminance": 0.28361
}

Semantic roles & 50–950 ramp

primary
#799D2C
secondary
#8368BD
accent
#48E078
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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