#799726#799726

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

Color values

HEX#799726
RGBrgb(121, 151, 38)
HSLhsl(76, 60%, 37%)
HSVhsv(76, 75%, 59%)
CMYKcmyk(19.9%, 0%, 74.8%, 40.8%)
CIE-LABlab(58.36, -26.61, 52.52)
CIE-LCHlch(58.36, 58.87, 116.87°)
OKLaboklab(63.2% -0.0776 0.1168)
OKLCHoklch(63.2% 0.14 123.6)
XYZxyz(19.3018, 26.3380, 5.9002)
Luminance0.2634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799726 #442697
analogous
#977D26 #799726 #419726
triadic
#799726 #267997 #972679
tetradic
#799726 #26977D #442697 #972641
square
#799726 #26977D #442697 #972641
split-complementary
#799726 #264197 #7D2697
monochromatic
#2B350D #52661A #799726 #A0C832 #B8D760

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799726#FFFFFF#000000##000000
##7997261.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)
#A08D0F
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#7F8F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #799726;
/* rgb */ color: rgb(121, 151, 38);
/* oklch */ color: oklch(63.2% 0.140 123.6);
Tailwind
colors: {
  custom: {
    50: '#a3b569',
    500: '#799726',
    950: '#000000',
  },
}
SCSS
$custom: #799726;
$custom-light: #a3b569;
$custom-dark: #000000;
JSON
{
  "hex": "#799726",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 75.929,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63195,
    "c": 0.14018,
    "h": 123.6
  },
  "luminance": 0.26338
}

Semantic roles & 50–950 ramp

primary
#799726
secondary
#765CBC
accent
#45E36F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799726

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

Preview Lab → · Contrast checker → · Palette generator →

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