#799245#799245

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

Color values

HEX#799245
RGBrgb(121, 146, 69)
HSLhsl(79, 36%, 42%)
HSVhsv(79, 53%, 57%)
CMYKcmyk(17.1%, 0%, 52.7%, 42.7%)
CIE-LABlab(57.13, -21.63, 37.53)
CIE-LCHlch(57.13, 43.31, 119.96°)
OKLaboklab(62.29% -0.0608 0.089)
OKLCHoklch(62.29% 0.108 124.4)
XYZxyz(19.2382, 25.0523, 9.4511)
Luminance0.2505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799245 #5E4592
analogous
#928545 #799245 #529245
triadic
#799245 #457992 #924579
tetradic
#799245 #459285 #5E4592 #924552
square
#799245 #459285 #5E4592 #924552
split-complementary
#799245 #455292 #854592
monochromatic
#343F1E #576831 #799245 #99B460 #B4C88A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799245#FFFFFF#000000##000000
##7992451.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)
#998A3E
Deuteranopia (green-blind)
#96894A
Tritanopia (blue-blind)
#7E8C81
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #799245;
/* rgb */ color: rgb(121, 146, 69);
/* oklch */ color: oklch(62.3% 0.108 124.4);
Tailwind
colors: {
  custom: {
    50: '#a1b27b',
    500: '#799245',
    950: '#000000',
  },
}
SCSS
$custom: #799245;
$custom-light: #a1b27b;
$custom-dark: #000000;
JSON
{
  "hex": "#799245",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 69
  },
  "hsl": {
    "h": 79.481,
    "s": 35.814,
    "l": 42.157
  },
  "oklch": {
    "l": 0.62292,
    "c": 0.10779,
    "h": 124.4
  },
  "luminance": 0.25052
}

Semantic roles & 50–950 ramp

primary
#799245
secondary
#9080B3
accent
#5CCC80
background
#FAFAF7
surface
#F4F5EE
border
#CECFC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #799245

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

Preview Lab → · Contrast checker → · Palette generator →

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