#42941B#42941B

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

Color values

HEX#42941B
RGBrgb(66, 148, 27)
HSLhsl(101, 69%, 34%)
HSVhsv(101, 82%, 58%)
CMYKcmyk(55.4%, 0%, 81.8%, 42%)
CIE-LABlab(54.47, -45.89, 51.45)
CIE-LCHlch(54.47, 68.94, 131.73°)
OKLaboklab(59.23% -0.127 0.1139)
OKLCHoklch(59.23% 0.171 138.1)
XYZxyz(13.0340, 22.4161, 4.6766)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42941B #6D1B94
analogous
#7F941B #42941B #1B9430
triadic
#42941B #1B4294 #941B42
tetradic
#42941B #1B7F94 #6D1B94 #94301B
square
#42941B #1B7F94 #6D1B94 #94301B
split-complementary
#42941B #301B94 #941B7F
monochromatic
#142C08 #2B6012 #42941B #59C824 #7BDE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42941B#FFFFFF#000000##000000
##42941B1.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)
#8E802A
Tritanopia (blue-blind)
#3B8F7E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #42941b;
/* rgb */ color: rgb(66, 148, 27);
/* oklch */ color: oklch(59.2% 0.171 138.1);
Tailwind
colors: {
  custom: {
    50: '#80b463',
    500: '#42941b',
    950: '#000000',
  },
}
SCSS
$custom: #42941b;
$custom-light: #80b463;
$custom-dark: #000000;
JSON
{
  "hex": "#42941b",
  "rgb": {
    "r": 66,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 100.661,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59229,
    "c": 0.17061,
    "h": 138.1
  },
  "luminance": 0.22417
}

Semantic roles & 50–950 ramp

primary
#42941B
secondary
#9A4BC0
accent
#3CECB3
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42941B

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

Preview Lab → · Contrast checker → · Palette generator →

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