#42941F#42941F

#42941F is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.3% C 0.169 H 138.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#42941F
RGBrgb(66, 148, 31)
HSLhsl(102, 65%, 35%)
HSVhsv(102, 79%, 58%)
CMYKcmyk(55.4%, 0%, 79.1%, 42%)
CIE-LABlab(54.49, -45.66, 50.21)
CIE-LCHlch(54.49, 67.86, 132.28°)
OKLaboklab(59.25% -0.1261 0.1119)
OKLCHoklch(59.25% 0.169 138.4)
XYZxyz(13.0835, 22.4359, 4.9372)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42941F #711F94
analogous
#7D941F #42941F #1F9436
triadic
#42941F #1F4294 #941F42
tetradic
#42941F #1F7D94 #711F94 #94361F
square
#42941F #1F7D94 #711F94 #94361F
split-complementary
#42941F #361F94 #941F7D
monochromatic
#152F0A #2B6114 #42941F #59C72A #7BDB53

Accessibility & contrast

On white

3.83
#42941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#42941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42941F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42941F#FFFFFF#000000##000000
##42941F1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#8E802C
Tritanopia (blue-blind)
#3B8F7E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #42941f;
/* rgb */ color: rgb(66, 148, 31);
/* oklch */ color: oklch(59.3% 0.169 138.4);
Tailwind
colors: {
  custom: {
    50: '#80b464',
    500: '#42941f',
    950: '#000000',
  },
}
SCSS
$custom: #42941f;
$custom-light: #80b464;
$custom-dark: #000000;
JSON
{
  "hex": "#42941f",
  "rgb": {
    "r": 66,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 102.051,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59253,
    "c": 0.16863,
    "h": 138.4
  },
  "luminance": 0.22437
}

Semantic roles & 50–950 ramp

primary
#42941F
secondary
#9D51BE
accent
#3FE8B6
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42941F

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

Preview Lab → · Contrast checker → · Palette generator →

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