#799142#799142

#799142 is a light, moderate yellow-green. Relative luminance 0.247; OKLCH L 62.0% C 0.109 H 123.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#799142
RGBrgb(121, 145, 66)
HSLhsl(78, 37%, 41%)
HSVhsv(78, 54%, 57%)
CMYKcmyk(16.6%, 0%, 54.5%, 43.1%)
CIE-LABlab(56.79, -21.43, 38.63)
CIE-LCHlch(56.79, 44.18, 119.02°)
OKLaboklab(62.01% -0.0605 0.0911)
OKLCHoklch(62.01% 0.109 123.6)
XYZxyz(18.9940, 24.7090, 8.9219)
Luminance0.2471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799142 #5A4291
analogous
#918242 #799142 #529142
triadic
#799142 #427991 #914279
tetradic
#799142 #429182 #5A4291 #914252
square
#799142 #429182 #5A4291 #914252
split-complementary
#799142 #425291 #824291
monochromatic
#333D1C #56672F #799142 #9AB55C #B4C886

Accessibility & contrast

On white

3.53
#799142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#799142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799142
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799142#FFFFFF#000000##000000
##7991421.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98893A
Deuteranopia (green-blind)
#958847
Tritanopia (blue-blind)
#7E8B7F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #799142;
/* rgb */ color: rgb(121, 145, 66);
/* oklch */ color: oklch(62.0% 0.109 123.6);
Tailwind
colors: {
  custom: {
    50: '#a1b179',
    500: '#799142',
    950: '#000000',
  },
}
SCSS
$custom: #799142;
$custom-light: #a1b179;
$custom-dark: #000000;
JSON
{
  "hex": "#799142",
  "rgb": {
    "r": 121,
    "g": 145,
    "b": 66
  },
  "hsl": {
    "h": 78.228,
    "s": 37.441,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6201,
    "c": 0.1094,
    "h": 123.6
  },
  "luminance": 0.24709
}

Semantic roles & 50–950 ramp

primary
#799142
secondary
#8D7CB3
accent
#5ACD7D
background
#FAFAF7
surface
#F4F5ED
border
#CECFC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #799142

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

Preview Lab → · Contrast checker → · Palette generator →

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