#799C2C#799C2C

#799C2C is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.5% C 0.143 H 125.4°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#799C2C
RGBrgb(121, 156, 44)
HSLhsl(79, 56%, 39%)
HSVhsv(79, 72%, 61%)
CMYKcmyk(22.4%, 0%, 71.8%, 38.8%)
CIE-LABlab(59.91, -28.68, 51.82)
CIE-LCHlch(59.91, 59.22, 118.96°)
OKLaboklab(64.46% -0.0827 0.1163)
OKLCHoklch(64.46% 0.143 125.4)
XYZxyz(20.2284, 28.0235, 6.7257)
Luminance0.2802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799C2C #4F2C9C
analogous
#9C872C #799C2C #419C2C
triadic
#799C2C #2C799C #9C2C79
tetradic
#799C2C #2C9C87 #4F2C9C #9C2C41
square
#799C2C #2C9C87 #4F2C9C #9C2C41
split-complementary
#799C2C #2C419C #872C9C
monochromatic
#2F3D11 #546C1F #799C2C #9DC83D #B5D66D

Accessibility & contrast

On white

3.18
#799C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#799C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799C2C
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799C2C#FFFFFF#000000##000000
##799C2C1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59219
Deuteranopia (green-blind)
#A09036
Tritanopia (blue-blind)
#7E9486
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799c2c;
/* rgb */ color: rgb(121, 156, 44);
/* oklch */ color: oklch(64.5% 0.143 125.4);
Tailwind
colors: {
  custom: {
    50: '#a3b96d',
    500: '#799c2c',
    950: '#000000',
  },
}
SCSS
$custom: #799c2c;
$custom-light: #a3b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#799c2c",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 44
  },
  "hsl": {
    "h": 78.75,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64464,
    "c": 0.1427,
    "h": 125.4
  },
  "luminance": 0.28024
}

Semantic roles & 50–950 ramp

primary
#799C2C
secondary
#8267BD
accent
#49DF78
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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