#799B28#799B28

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

Color values

HEX#799B28
RGBrgb(121, 155, 40)
HSLhsl(78, 59%, 38%)
HSVhsv(78, 74%, 61%)
CMYKcmyk(21.9%, 0%, 74.2%, 39.2%)
CIE-LABlab(59.58, -28.44, 52.99)
CIE-LCHlch(59.58, 60.13, 118.22°)
OKLaboklab(64.19% -0.0824 0.1181)
OKLCHoklch(64.19% 0.144 124.9)
XYZxyz(19.9897, 27.6606, 6.2930)
Luminance0.2766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B28 #4A289B
analogous
#9B8328 #799B28 #3F9B28
triadic
#799B28 #28799B #9B2879
tetradic
#799B28 #289B83 #4A289B #9B283F
square
#799B28 #289B83 #4A289B #9B283F
split-complementary
#799B28 #283F9B #83289B
monochromatic
#2D3A0F #536A1B #799B28 #9FCB35 #B6D766

Accessibility & contrast

On white

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

On black

6.53
#799B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B28
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B28#FFFFFF#000000##000000
##799B281.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49111
Deuteranopia (green-blind)
#9F8F32
Tritanopia (blue-blind)
#7F9385
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799b28;
/* rgb */ color: rgb(121, 155, 40);
/* oklch */ color: oklch(64.2% 0.144 124.9);
Tailwind
colors: {
  custom: {
    50: '#a3b86a',
    500: '#799b28',
    950: '#000000',
  },
}
SCSS
$custom: #799b28;
$custom-light: #a3b86a;
$custom-dark: #000000;
JSON
{
  "hex": "#799b28",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 40
  },
  "hsl": {
    "h": 77.739,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64189,
    "c": 0.14399,
    "h": 124.9
  },
  "luminance": 0.27661
}

Semantic roles & 50–950 ramp

primary
#799B28
secondary
#7D61BD
accent
#46E274
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799B28

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

Preview Lab → · Contrast checker → · Palette generator →

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