#799342#799342

#799342 is a light, moderate yellow-green. Relative luminance 0.253; OKLCH L 62.5% C 0.112 H 124.4°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#799342
RGBrgb(121, 147, 66)
HSLhsl(79, 38%, 42%)
HSVhsv(79, 55%, 58%)
CMYKcmyk(17.7%, 0%, 55.1%, 42.4%)
CIE-LABlab(57.39, -22.45, 39.34)
CIE-LCHlch(57.39, 45.29, 119.71°)
OKLaboklab(62.49% -0.0634 0.0926)
OKLCHoklch(62.49% 0.112 124.4)
XYZxyz(19.3023, 25.3256, 9.0246)
Luminance0.2533 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799342 #5C4293
analogous
#938542 #799342 #519342
triadic
#799342 #427993 #934279
tetradic
#799342 #429385 #5C4293 #934251
square
#799342 #429385 #5C4293 #934251
split-complementary
#799342 #425193 #854293
monochromatic
#333F1C #56692F #799342 #99B65C #B4C987

Accessibility & contrast

On white

3.46
#799342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#799342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799342
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799342#FFFFFF#000000##000000
##7993421.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8B3A
Deuteranopia (green-blind)
#978A47
Tritanopia (blue-blind)
#7E8D81
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #799342;
/* rgb */ color: rgb(121, 147, 66);
/* oklch */ color: oklch(62.5% 0.112 124.4);
Tailwind
colors: {
  custom: {
    50: '#a1b279',
    500: '#799342',
    950: '#000000',
  },
}
SCSS
$custom: #799342;
$custom-light: #a1b279;
$custom-dark: #000000;
JSON
{
  "hex": "#799342",
  "rgb": {
    "r": 121,
    "g": 147,
    "b": 66
  },
  "hsl": {
    "h": 79.259,
    "s": 38.028,
    "l": 41.765
  },
  "oklch": {
    "l": 0.62494,
    "c": 0.11225,
    "h": 124.4
  },
  "luminance": 0.25326
}

Semantic roles & 50–950 ramp

primary
#799342
secondary
#8F7DB4
accent
#5ACE7F
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #799342

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

Preview Lab → · Contrast checker → · Palette generator →

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