#799B2C#799B2C

#799B2C is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 64.2% C 0.141 H 125.1°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#799B2C
RGBrgb(121, 155, 44)
HSLhsl(78, 56%, 39%)
HSVhsv(78, 72%, 61%)
CMYKcmyk(21.9%, 0%, 71.6%, 39.2%)
CIE-LABlab(59.61, -28.19, 51.52)
CIE-LCHlch(59.61, 58.73, 118.69°)
OKLaboklab(64.22% -0.0814 0.1156)
OKLCHoklch(64.22% 0.141 125.1)
XYZxyz(20.0613, 27.6893, 6.6700)
Luminance0.2769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B2C #4E2C9B
analogous
#9B862C #799B2C #429B2C
triadic
#799B2C #2C799B #9B2C79
tetradic
#799B2C #2C9B86 #4E2C9B #9B2C42
square
#799B2C #2C9B86 #4E2C9B #9B2C42
split-complementary
#799B2C #2C429B #862C9B
monochromatic
#2F3C11 #546B1E #799B2C #9DC83C #B5D56C

Accessibility & contrast

On white

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

On black

6.54
#799B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B2C
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B2C#FFFFFF#000000##000000
##799B2C1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49119
Deuteranopia (green-blind)
#9F8F35
Tritanopia (blue-blind)
#7E9385
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799b2c;
/* rgb */ color: rgb(121, 155, 44);
/* oklch */ color: oklch(64.2% 0.141 125.1);
Tailwind
colors: {
  custom: {
    50: '#a3b86c',
    500: '#799b2c',
    950: '#000000',
  },
}
SCSS
$custom: #799b2c;
$custom-light: #a3b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#799b2c",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 44
  },
  "hsl": {
    "h": 78.378,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64219,
    "c": 0.14141,
    "h": 125.1
  },
  "luminance": 0.27689
}

Semantic roles & 50–950 ramp

primary
#799B2C
secondary
#8167BC
accent
#49DF77
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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