#799D28#799D28

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

Color values

HEX#799D28
RGBrgb(121, 157, 40)
HSLhsl(78, 59%, 39%)
HSVhsv(78, 75%, 62%)
CMYKcmyk(22.9%, 0%, 74.5%, 38.4%)
CIE-LABlab(60.19, -29.39, 53.58)
CIE-LCHlch(60.19, 61.11, 118.75°)
OKLaboklab(64.68% -0.085 0.1193)
OKLCHoklch(64.68% 0.147 125.5)
XYZxyz(20.3253, 28.3318, 6.4048)
Luminance0.2833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D28 #4C289D
analogous
#9D8628 #799D28 #3E9D28
triadic
#799D28 #28799D #9D2879
tetradic
#799D28 #289D86 #4C289D #9D283E
square
#799D28 #289D86 #4C289D #9D283E
split-complementary
#799D28 #283E9D #86289D
monochromatic
#2E3B0F #536C1C #799D28 #9ECC36 #B5D867

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799D28#FFFFFF#000000##000000
##799D281.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)
#A69210
Deuteranopia (green-blind)
#A19133
Tritanopia (blue-blind)
#7E9587
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799d28;
/* rgb */ color: rgb(121, 157, 40);
/* oklch */ color: oklch(64.7% 0.147 125.5);
Tailwind
colors: {
  custom: {
    50: '#a3ba6b',
    500: '#799d28',
    950: '#000000',
  },
}
SCSS
$custom: #799d28;
$custom-light: #a3ba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#799d28",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 40
  },
  "hsl": {
    "h": 78.462,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64681,
    "c": 0.14652,
    "h": 125.5
  },
  "luminance": 0.28332
}

Semantic roles & 50–950 ramp

primary
#799D28
secondary
#7F62BE
accent
#45E376
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799D28

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

Preview Lab → · Contrast checker → · Palette generator →

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