#42941A#42941A

#42941A is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.2% C 0.171 H 138.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#42941A
RGBrgb(66, 148, 26)
HSLhsl(100, 70%, 34%)
HSVhsv(100, 82%, 58%)
CMYKcmyk(55.4%, 0%, 82.4%, 42%)
CIE-LABlab(54.46, -45.95, 51.74)
CIE-LCHlch(54.46, 69.20, 131.60°)
OKLaboklab(59.22% -0.1272 0.1144)
OKLCHoklch(59.22% 0.171 138)
XYZxyz(13.0227, 22.4116, 4.6167)
Luminance0.2241 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42941A #6C1A94
analogous
#7F941A #42941A #1A942F
triadic
#42941A #1A4294 #941A42
tetradic
#42941A #1A7F94 #6C1A94 #942F1A
square
#42941A #1A7F94 #6C1A94 #942F1A
split-complementary
#42941A #2F1A94 #941A7F
monochromatic
#142C08 #2B6011 #42941A #59C823 #7ADF49

Accessibility & contrast

On white

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

On black

5.48
#42941A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42941A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42941A#FFFFFF#000000##000000
##42941A1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42941a;
/* rgb */ color: rgb(66, 148, 26);
/* oklch */ color: oklch(59.2% 0.171 138.0);
Tailwind
colors: {
  custom: {
    50: '#80b462',
    500: '#42941a',
    950: '#000000',
  },
}
SCSS
$custom: #42941a;
$custom-light: #80b462;
$custom-dark: #000000;
JSON
{
  "hex": "#42941a",
  "rgb": {
    "r": 66,
    "g": 148,
    "b": 26
  },
  "hsl": {
    "h": 100.328,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59224,
    "c": 0.17106,
    "h": 138
  },
  "luminance": 0.22413
}

Semantic roles & 50–950 ramp

primary
#42941A
secondary
#9A49C1
accent
#3BEDB3
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42941A

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

Preview Lab → · Contrast checker → · Palette generator →

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