#799D2B#799D2B

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

Color values

HEX#799D2B
RGBrgb(121, 157, 43)
HSLhsl(79, 57%, 39%)
HSVhsv(79, 73%, 62%)
CMYKcmyk(22.9%, 0%, 72.6%, 38.4%)
CIE-LABlab(60.21, -29.22, 52.49)
CIE-LCHlch(60.21, 60.08, 119.10°)
OKLaboklab(64.7% -0.0843 0.1175)
OKLCHoklch(64.7% 0.145 125.6)
XYZxyz(20.3783, 28.3530, 6.6841)
Luminance0.2835 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D2B #4F2B9D
analogous
#9D882B #799D2B #409D2B
triadic
#799D2B #2B799D #9D2B79
tetradic
#799D2B #2B9D88 #4F2B9D #9D2B40
square
#799D2B #2B9D88 #4F2B9D #9D2B40
split-complementary
#799D2B #2B409D #882B9D
monochromatic
#2F3D11 #546D1E #799D2B #9DCA3C #B5D76C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799D2B#FFFFFF#000000##000000
##799D2B1.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)
#A69217
Deuteranopia (green-blind)
#A19135
Tritanopia (blue-blind)
#7E9587
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799d2b;
/* rgb */ color: rgb(121, 157, 43);
/* oklch */ color: oklch(64.7% 0.145 125.6);
Tailwind
colors: {
  custom: {
    50: '#a3ba6c',
    500: '#799d2b',
    950: '#000000',
  },
}
SCSS
$custom: #799d2b;
$custom-light: #a3ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#799d2b",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 78.947,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64702,
    "c": 0.14463,
    "h": 125.6
  },
  "luminance": 0.28353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #799D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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