#799738#799738

#799738 is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 63.3% C 0.127 H 124.8°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#799738
RGBrgb(121, 151, 56)
HSLhsl(79, 46%, 41%)
HSVhsv(79, 63%, 59%)
CMYKcmyk(19.9%, 0%, 62.9%, 40.8%)
CIE-LABlab(58.49, -25.36, 45.32)
CIE-LCHlch(58.49, 51.93, 119.24°)
OKLaboklab(63.35% -0.0725 0.1043)
OKLCHoklch(63.35% 0.127 124.8)
XYZxyz(19.6657, 26.4835, 7.8164)
Luminance0.2648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799738 #563897
analogous
#978538 #799738 #499738
triadic
#799738 #387997 #973879
tetradic
#799738 #389785 #563897 #973849
square
#799738 #389785 #563897 #973849
split-complementary
#799738 #384997 #853897
monochromatic
#313E17 #556A27 #799738 #9BBE4F #B4CE7B

Accessibility & contrast

On white

3.34
#799738 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#799738 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799738
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799738#FFFFFF#000000##000000
##7997381.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E2D
Deuteranopia (green-blind)
#9B8C3F
Tritanopia (blue-blind)
#7E9083
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #799738;
/* rgb */ color: rgb(121, 151, 56);
/* oklch */ color: oklch(63.3% 0.127 124.8);
Tailwind
colors: {
  custom: {
    50: '#a2b573',
    500: '#799738',
    950: '#000000',
  },
}
SCSS
$custom: #799738;
$custom-light: #a2b573;
$custom-dark: #000000;
JSON
{
  "hex": "#799738",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 56
  },
  "hsl": {
    "h": 78.947,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63349,
    "c": 0.12702,
    "h": 124.8
  },
  "luminance": 0.26484
}

Semantic roles & 50–950 ramp

primary
#799738
secondary
#8973B7
accent
#52D67C
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #799738

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

Preview Lab → · Contrast checker → · Palette generator →

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