#42991D#42991D

#42991D is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.6% C 0.176 H 138.6°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#42991D
RGBrgb(66, 153, 29)
HSLhsl(102, 68%, 36%)
HSVhsv(102, 81%, 60%)
CMYKcmyk(56.9%, 0%, 81%, 40%)
CIE-LABlab(56.12, -47.68, 52.39)
CIE-LCHlch(56.12, 70.83, 132.30°)
OKLaboklab(60.59% -0.1317 0.1162)
OKLCHoklch(60.59% 0.176 138.6)
XYZxyz(13.8592, 24.0283, 5.0697)
Luminance0.2403 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42991D #741D99
analogous
#80991D #42991D #1D9936
triadic
#42991D #1D4299 #991D42
tetradic
#42991D #1D8099 #741D99 #99361D
square
#42991D #1D8099 #741D99 #99361D
split-complementary
#42991D #361D99 #991D80
monochromatic
#163209 #2C6613 #42991D #58CC27 #7CDE52

Accessibility & contrast

On white

3.62
#42991D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#42991D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42991D
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42991D#FFFFFF#000000##000000
##42991D1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#93842C
Tritanopia (blue-blind)
#3A9482
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #42991d;
/* rgb */ color: rgb(66, 153, 29);
/* oklch */ color: oklch(60.6% 0.176 138.6);
Tailwind
colors: {
  custom: {
    50: '#81b864',
    500: '#42991d',
    950: '#000000',
  },
}
SCSS
$custom: #42991d;
$custom-light: #81b864;
$custom-dark: #000000;
JSON
{
  "hex": "#42991d",
  "rgb": {
    "r": 66,
    "g": 153,
    "b": 29
  },
  "hsl": {
    "h": 102.097,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60594,
    "c": 0.1756,
    "h": 138.6
  },
  "luminance": 0.24029
}

Semantic roles & 50–950 ramp

primary
#42991D
secondary
#A051C1
accent
#3DEBB7
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42991D

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

Preview Lab → · Contrast checker → · Palette generator →

#42991D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva