#799C38#799C38

#799C38 is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.6% C 0.134 H 126.3°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#799C38
RGBrgb(121, 156, 56)
HSLhsl(81, 47%, 42%)
HSVhsv(81, 64%, 61%)
CMYKcmyk(22.4%, 0%, 64.1%, 38.8%)
CIE-LABlab(60.00, -27.81, 46.96)
CIE-LCHlch(60.00, 54.58, 120.63°)
OKLaboklab(64.57% -0.0792 0.1078)
OKLCHoklch(64.57% 0.134 126.3)
XYZxyz(20.4875, 28.1271, 8.0903)
Luminance0.2813 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799C38 #5B389C
analogous
#9C8D38 #799C38 #479C38
triadic
#799C38 #38799C #9C3879
tetradic
#799C38 #389C8D #5B389C #9C3847
square
#799C38 #389C8D #5B389C #9C3847
split-complementary
#799C38 #38479C #8D389C
monochromatic
#334218 #566F28 #799C38 #99C051 #B4D17E

Accessibility & contrast

On white

3.17
#799C38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#799C38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799C38
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799C38#FFFFFF#000000##000000
##799C381.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4922C
Deuteranopia (green-blind)
#9F903F
Tritanopia (blue-blind)
#7E9587
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799c38;
/* rgb */ color: rgb(121, 156, 56);
/* oklch */ color: oklch(64.6% 0.134 126.3);
Tailwind
colors: {
  custom: {
    50: '#a2b973',
    500: '#799c38',
    950: '#000000',
  },
}
SCSS
$custom: #799c38;
$custom-light: #a2b973;
$custom-dark: #000000;
JSON
{
  "hex": "#799c38",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 56
  },
  "hsl": {
    "h": 81,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6457,
    "c": 0.13378,
    "h": 126.3
  },
  "luminance": 0.28127
}

Semantic roles & 50–950 ramp

primary
#799C38
secondary
#8E76BA
accent
#51D780
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #799C38

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

Preview Lab → · Contrast checker → · Palette generator →

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