#799340#799340

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

Color values

HEX#799340
RGBrgb(121, 147, 64)
HSLhsl(79, 39%, 41%)
HSVhsv(79, 56%, 58%)
CMYKcmyk(17.7%, 0%, 56.5%, 42.4%)
CIE-LABlab(57.37, -22.64, 40.29)
CIE-LCHlch(57.37, 46.22, 119.34°)
OKLaboklab(62.47% -0.0641 0.0945)
OKLCHoklch(62.47% 0.114 124.2)
XYZxyz(19.2444, 25.3024, 8.7195)
Luminance0.2530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799340 #5A4093
analogous
#938440 #799340 #509340
triadic
#799340 #407993 #934079
tetradic
#799340 #409384 #5A4093 #934050
square
#799340 #409384 #5A4093 #934050
split-complementary
#799340 #405093 #844093
monochromatic
#333E1B #56682D #799340 #9AB759 #B4C984

Accessibility & contrast

On white

3.47
#799340 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#799340 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799340
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799340#FFFFFF#000000##000000
##7993401.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B38
Deuteranopia (green-blind)
#978A45
Tritanopia (blue-blind)
#7E8C81
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #799340;
/* rgb */ color: rgb(121, 147, 64);
/* oklch */ color: oklch(62.5% 0.114 124.2);
Tailwind
colors: {
  custom: {
    50: '#a2b278',
    500: '#799340',
    950: '#000000',
  },
}
SCSS
$custom: #799340;
$custom-light: #a2b278;
$custom-dark: #000000;
JSON
{
  "hex": "#799340",
  "rgb": {
    "r": 121,
    "g": 147,
    "b": 64
  },
  "hsl": {
    "h": 78.795,
    "s": 39.336,
    "l": 41.373
  },
  "oklch": {
    "l": 0.62468,
    "c": 0.11421,
    "h": 124.2
  },
  "luminance": 0.25303
}

Semantic roles & 50–950 ramp

primary
#799340
secondary
#8D7BB4
accent
#59CF7E
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #799340

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

Preview Lab → · Contrast checker → · Palette generator →

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