#42941C#42941C

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

Color values

HEX#42941C
RGBrgb(66, 148, 28)
HSLhsl(101, 68%, 35%)
HSVhsv(101, 81%, 58%)
CMYKcmyk(55.4%, 0%, 81.1%, 42%)
CIE-LABlab(54.47, -45.84, 51.15)
CIE-LCHlch(54.47, 68.68, 131.86°)
OKLaboklab(59.24% -0.1268 0.1135)
OKLCHoklch(59.24% 0.17 138.2)
XYZxyz(13.0458, 22.4209, 4.7386)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42941C #6E1C94
analogous
#7E941C #42941C #1C9432
triadic
#42941C #1C4294 #941C42
tetradic
#42941C #1C7E94 #6E1C94 #94321C
square
#42941C #1C7E94 #6E1C94 #94321C
split-complementary
#42941C #321C94 #941C7E
monochromatic
#142D09 #2B6112 #42941C #59C726 #7BDD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42941C#FFFFFF#000000##000000
##42941C1.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: #42941c;
/* rgb */ color: rgb(66, 148, 28);
/* oklch */ color: oklch(59.2% 0.170 138.2);
Tailwind
colors: {
  custom: {
    50: '#80b463',
    500: '#42941c',
    950: '#000000',
  },
}
SCSS
$custom: #42941c;
$custom-light: #80b463;
$custom-dark: #000000;
JSON
{
  "hex": "#42941c",
  "rgb": {
    "r": 66,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 101,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59235,
    "c": 0.17013,
    "h": 138.2
  },
  "luminance": 0.22422
}

Semantic roles & 50–950 ramp

primary
#42941C
secondary
#9B4CC0
accent
#3DEBB4
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42941C

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

Preview Lab → · Contrast checker → · Palette generator →

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