#799B38#799B38

#799B38 is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 64.3% C 0.132 H 126.0°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#799B38
RGBrgb(121, 155, 56)
HSLhsl(81, 47%, 41%)
HSVhsv(81, 64%, 61%)
CMYKcmyk(21.9%, 0%, 63.9%, 39.2%)
CIE-LABlab(59.70, -27.32, 46.63)
CIE-LCHlch(59.70, 54.05, 120.37°)
OKLaboklab(64.33% -0.0779 0.1071)
OKLCHoklch(64.33% 0.132 126)
XYZxyz(20.3204, 27.7929, 8.0346)
Luminance0.2779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B38 #5A389B
analogous
#9B8C38 #799B38 #489B38
triadic
#799B38 #38799B #9B3879
tetradic
#799B38 #389B8C #5A389B #9B3848
square
#799B38 #389B8C #5A389B #9B3848
split-complementary
#799B38 #38489B #8C389B
monochromatic
#334118 #566E28 #799B38 #9AC050 #B4D07D

Accessibility & contrast

On white

3.20
#799B38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#799B38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B38
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B38#FFFFFF#000000##000000
##799B381.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3912C
Deuteranopia (green-blind)
#9E8F3F
Tritanopia (blue-blind)
#7E9486
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799b38;
/* rgb */ color: rgb(121, 155, 56);
/* oklch */ color: oklch(64.3% 0.132 126.0);
Tailwind
colors: {
  custom: {
    50: '#a2b873',
    500: '#799b38',
    950: '#000000',
  },
}
SCSS
$custom: #799b38;
$custom-light: #a2b873;
$custom-dark: #000000;
JSON
{
  "hex": "#799b38",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 56
  },
  "hsl": {
    "h": 80.606,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64325,
    "c": 0.13243,
    "h": 126
  },
  "luminance": 0.27793
}

Semantic roles & 50–950 ramp

primary
#799B38
secondary
#8D75B9
accent
#51D77F
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #799B38

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

Preview Lab → · Contrast checker → · Palette generator →

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