#799C28#799C28

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

Color values

HEX#799C28
RGBrgb(121, 156, 40)
HSLhsl(78, 59%, 38%)
HSVhsv(78, 74%, 61%)
CMYKcmyk(22.4%, 0%, 74.4%, 38.8%)
CIE-LABlab(59.88, -28.92, 53.28)
CIE-LCHlch(59.88, 60.62, 118.49°)
OKLaboklab(64.44% -0.0837 0.1187)
OKLCHoklch(64.44% 0.145 125.2)
XYZxyz(20.1568, 27.9948, 6.3487)
Luminance0.2799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799C28 #4B289C
analogous
#9C8528 #799C28 #3F9C28
triadic
#799C28 #28799C #9C2879
tetradic
#799C28 #289C85 #4B289C #9C283F
square
#799C28 #289C85 #4B289C #9C283F
split-complementary
#799C28 #283F9C #85289C
monochromatic
#2D3B0F #536B1C #799C28 #9ECB36 #B6D867

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799C28#FFFFFF#000000##000000
##799C281.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)
#A59211
Deuteranopia (green-blind)
#A09033
Tritanopia (blue-blind)
#7F9486
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799c28;
/* rgb */ color: rgb(121, 156, 40);
/* oklch */ color: oklch(64.4% 0.145 125.2);
Tailwind
colors: {
  custom: {
    50: '#a3b96a',
    500: '#799c28',
    950: '#000000',
  },
}
SCSS
$custom: #799c28;
$custom-light: #a3b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#799c28",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 78.103,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64435,
    "c": 0.14525,
    "h": 125.2
  },
  "luminance": 0.27995
}

Semantic roles & 50–950 ramp

primary
#799C28
secondary
#7E62BE
accent
#45E275
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799C28

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

Preview Lab → · Contrast checker → · Palette generator →

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