#799246#799246

#799246 is a light, moderate yellow-green. Relative luminance 0.251; OKLCH L 62.3% C 0.107 H 124.5°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#799246
RGBrgb(121, 146, 70)
HSLhsl(80, 35%, 42%)
HSVhsv(80, 52%, 57%)
CMYKcmyk(17.1%, 0%, 52.1%, 42.7%)
CIE-LABlab(57.14, -21.52, 37.04)
CIE-LCHlch(57.14, 42.84, 120.16°)
OKLaboklab(62.31% -0.0604 0.088)
OKLCHoklch(62.31% 0.107 124.5)
XYZxyz(19.2695, 25.0648, 9.6160)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799246 #5F4692
analogous
#928546 #799246 #539246
triadic
#799246 #467992 #924679
tetradic
#799246 #469285 #5F4692 #924653
square
#799246 #469285 #5F4692 #924653
split-complementary
#799246 #465392 #854692
monochromatic
#343F1E #576932 #799246 #99B462 #B4C78B

Accessibility & contrast

On white

3.49
#799246 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#799246 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799246
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799246#FFFFFF#000000##000000
##7992461.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998A3F
Deuteranopia (green-blind)
#96894B
Tritanopia (blue-blind)
#7E8C81
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #799246;
/* rgb */ color: rgb(121, 146, 70);
/* oklch */ color: oklch(62.3% 0.107 124.5);
Tailwind
colors: {
  custom: {
    50: '#a1b27b',
    500: '#799246',
    950: '#000000',
  },
}
SCSS
$custom: #799246;
$custom-light: #a1b27b;
$custom-dark: #000000;
JSON
{
  "hex": "#799246",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 70
  },
  "hsl": {
    "h": 79.737,
    "s": 35.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.62305,
    "c": 0.10676,
    "h": 124.5
  },
  "luminance": 0.25065
}

Semantic roles & 50–950 ramp

primary
#799246
secondary
#9181B3
accent
#5DCB81
background
#FAFAF7
surface
#F4F5EE
border
#CECFC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #799246

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

Preview Lab → · Contrast checker → · Palette generator →

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