#799239#799239

#799239 is a light, moderate yellow-green. Relative luminance 0.249; OKLCH L 62.1% C 0.119 H 123.1°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#799239
RGBrgb(121, 146, 57)
HSLhsl(77, 44%, 40%)
HSVhsv(77, 61%, 57%)
CMYKcmyk(17.1%, 0%, 61%, 42.7%)
CIE-LABlab(57.00, -22.78, 43.21)
CIE-LCHlch(57.00, 48.84, 117.80°)
OKLaboklab(62.14% -0.0652 0.1)
OKLCHoklch(62.14% 0.119 123.1)
XYZxyz(18.9027, 24.9180, 7.6839)
Luminance0.2492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799239 #523992
analogous
#927F39 #799239 #4D9239
triadic
#799239 #397992 #923979
tetradic
#799239 #39927F #523992 #92394D
square
#799239 #39927F #523992 #92394D
split-complementary
#799239 #394D92 #7F3992
monochromatic
#303A17 #556628 #799239 #9CBA4E #B4CB7A

Accessibility & contrast

On white

3.51
#799239 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#799239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799239
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799239#FFFFFF#000000##000000
##7992391.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A892F
Deuteranopia (green-blind)
#97893F
Tritanopia (blue-blind)
#7F8B7F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #799239;
/* rgb */ color: rgb(121, 146, 57);
/* oklch */ color: oklch(62.1% 0.119 123.1);
Tailwind
colors: {
  custom: {
    50: '#a2b273',
    500: '#799239',
    950: '#000000',
  },
}
SCSS
$custom: #799239;
$custom-light: #a2b273;
$custom-dark: #000000;
JSON
{
  "hex": "#799239",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 57
  },
  "hsl": {
    "h": 76.854,
    "s": 43.842,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62144,
    "c": 0.11934,
    "h": 123.1
  },
  "luminance": 0.24918
}

Semantic roles & 50–950 ramp

primary
#799239
secondary
#8572B4
accent
#54D478
background
#FAFAF7
surface
#F4F5ED
border
#CECFC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #799239

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

Preview Lab → · Contrast checker → · Palette generator →

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