#799E28#799E28

#799E28 is a light, vivid yellow-green. Relative luminance 0.287; OKLCH L 64.9% C 0.148 H 125.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#799E28
RGBrgb(121, 158, 40)
HSLhsl(79, 60%, 39%)
HSVhsv(79, 75%, 62%)
CMYKcmyk(23.4%, 0%, 74.7%, 38%)
CIE-LABlab(60.49, -29.87, 53.87)
CIE-LCHlch(60.49, 61.60, 119.01°)
OKLaboklab(64.93% -0.0863 0.1199)
OKLCHoklch(64.93% 0.148 125.7)
XYZxyz(20.4951, 28.6716, 6.4615)
Luminance0.2867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799E28 #4D289E
analogous
#9E8828 #799E28 #3E9E28
triadic
#799E28 #28799E #9E2879
tetradic
#799E28 #289E88 #4D289E #9E283E
square
#799E28 #289E88 #4D289E #9E283E
split-complementary
#799E28 #283E9E #88289E
monochromatic
#2E3C0F #546D1C #799E28 #9DCC37 #B5D968

Accessibility & contrast

On white

3.12
#799E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#799E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799E28
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799E28#FFFFFF#000000##000000
##799E281.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79310
Deuteranopia (green-blind)
#A29133
Tritanopia (blue-blind)
#7E9687
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #799e28;
/* rgb */ color: rgb(121, 158, 40);
/* oklch */ color: oklch(64.9% 0.148 125.7);
Tailwind
colors: {
  custom: {
    50: '#a3ba6b',
    500: '#799e28',
    950: '#000000',
  },
}
SCSS
$custom: #799e28;
$custom-light: #a3ba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#799e28",
  "rgb": {
    "r": 121,
    "g": 158,
    "b": 40
  },
  "hsl": {
    "h": 78.814,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64926,
    "c": 0.14778,
    "h": 125.7
  },
  "luminance": 0.28672
}

Semantic roles & 50–950 ramp

primary
#799E28
secondary
#8063BF
accent
#45E376
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799E28

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

Preview Lab → · Contrast checker → · Palette generator →

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