#799728#799728

#799728 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 63.2% C 0.139 H 123.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#799728
RGBrgb(121, 151, 40)
HSLhsl(76, 58%, 37%)
HSVhsv(76, 74%, 59%)
CMYKcmyk(19.9%, 0%, 73.5%, 40.8%)
CIE-LABlab(58.37, -26.49, 51.80)
CIE-LCHlch(58.37, 58.18, 117.09°)
OKLaboklab(63.21% -0.0771 0.1156)
OKLCHoklch(63.21% 0.139 123.7)
XYZxyz(19.3350, 26.3512, 6.0747)
Luminance0.2635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799728 #462897
analogous
#977D28 #799728 #429728
triadic
#799728 #287997 #972879
tetradic
#799728 #28977D #462897 #972842
square
#799728 #28977D #462897 #972842
split-complementary
#799728 #284297 #7D2897
monochromatic
#2B360E #52671B #799728 #A0C735 #B7D664

Accessibility & contrast

On white

3.35
#799728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#799728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799728
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799728#FFFFFF#000000##000000
##7997281.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D13
Deuteranopia (green-blind)
#9C8C32
Tritanopia (blue-blind)
#7F8F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #799728;
/* rgb */ color: rgb(121, 151, 40);
/* oklch */ color: oklch(63.2% 0.139 123.7);
Tailwind
colors: {
  custom: {
    50: '#a3b56a',
    500: '#799728',
    950: '#000000',
  },
}
SCSS
$custom: #799728;
$custom-light: #a3b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#799728",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 76.216,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63209,
    "c": 0.13893,
    "h": 123.7
  },
  "luminance": 0.26351
}

Semantic roles & 50–950 ramp

primary
#799728
secondary
#785FBC
accent
#46E170
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799728

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

Preview Lab → · Contrast checker → · Palette generator →

#799728 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva