#42991F#42991F

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

Color values

HEX#42991F
RGBrgb(66, 153, 31)
HSLhsl(103, 66%, 36%)
HSVhsv(103, 80%, 60%)
CMYKcmyk(56.9%, 0%, 79.7%, 40%)
CIE-LABlab(56.13, -47.56, 51.77)
CIE-LCHlch(56.13, 70.30, 132.57°)
OKLaboklab(60.61% -0.1312 0.1152)
OKLCHoklch(60.61% 0.175 138.7)
XYZxyz(13.8848, 24.0385, 5.2043)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42991F #761F99
analogous
#7F991F #42991F #1F9939
triadic
#42991F #1F4299 #991F42
tetradic
#42991F #1F7F99 #761F99 #99391F
square
#42991F #1F7F99 #761F99 #99391F
split-complementary
#42991F #391F99 #991F7F
monochromatic
#16330A #2C6615 #42991F #58CC29 #7CDD56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42991F#FFFFFF#000000##000000
##42991F1.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)
#93842D
Tritanopia (blue-blind)
#399482
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #42991f;
/* rgb */ color: rgb(66, 153, 31);
/* oklch */ color: oklch(60.6% 0.175 138.7);
Tailwind
colors: {
  custom: {
    50: '#80b865',
    500: '#42991f',
    950: '#000000',
  },
}
SCSS
$custom: #42991f;
$custom-light: #80b865;
$custom-dark: #000000;
JSON
{
  "hex": "#42991f",
  "rgb": {
    "r": 66,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 102.787,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60606,
    "c": 0.17463,
    "h": 138.7
  },
  "luminance": 0.2404
}

Semantic roles & 50–950 ramp

primary
#42991F
secondary
#A154C0
accent
#3FE9B8
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42991F

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

Preview Lab → · Contrast checker → · Palette generator →

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