#799A42#799A42

#799A42 is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.2% C 0.122 H 126.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#799A42
RGBrgb(121, 154, 66)
HSLhsl(83, 40%, 43%)
HSVhsv(83, 57%, 60%)
CMYKcmyk(21.4%, 0%, 57.1%, 39.6%)
CIE-LABlab(59.50, -25.94, 41.78)
CIE-LCHlch(59.50, 49.18, 121.83°)
OKLaboklab(64.19% -0.0731 0.0979)
OKLCHoklch(64.19% 0.122 126.7)
XYZxyz(20.4241, 27.5692, 9.3986)
Luminance0.2757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A42 #63429A
analogous
#9A8F42 #799A42 #4D9A42
triadic
#799A42 #42799A #9A4279
tetradic
#799A42 #429A8F #63429A #9A424D
square
#799A42 #429A8F #63429A #9A424D
split-complementary
#799A42 #424D9A #8F429A
monochromatic
#36441D #576F30 #799A42 #98BA5F #B4CD8A

Accessibility & contrast

On white

3.22
#799A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#799A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799A42
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799A42#FFFFFF#000000##000000
##799A421.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19139
Deuteranopia (green-blind)
#9D8F48
Tritanopia (blue-blind)
#7D9387
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799a42;
/* rgb */ color: rgb(121, 154, 66);
/* oklch */ color: oklch(64.2% 0.122 126.7);
Tailwind
colors: {
  custom: {
    50: '#a2b879',
    500: '#799a42',
    950: '#000000',
  },
}
SCSS
$custom: #799a42;
$custom-light: #a2b879;
$custom-dark: #000000;
JSON
{
  "hex": "#799a42",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 66
  },
  "hsl": {
    "h": 82.5,
    "s": 40,
    "l": 43.137
  },
  "oklch": {
    "l": 0.64192,
    "c": 0.12221,
    "h": 126.7
  },
  "luminance": 0.27569
}

Semantic roles & 50–950 ramp

primary
#799A42
secondary
#9580B8
accent
#58D085
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #799A42

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

Preview Lab → · Contrast checker → · Palette generator →

#799A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva