#42951B#42951B

#42951B is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.5% C 0.172 H 138.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#42951B
RGBrgb(66, 149, 27)
HSLhsl(101, 69%, 35%)
HSVhsv(101, 82%, 58%)
CMYKcmyk(55.7%, 0%, 81.9%, 41.6%)
CIE-LABlab(54.79, -46.27, 51.76)
CIE-LCHlch(54.79, 69.43, 131.80°)
OKLaboklab(59.5% -0.128 0.1146)
OKLCHoklch(59.5% 0.172 138.2)
XYZxyz(13.1916, 22.7312, 4.7291)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42951B #6E1B95
analogous
#7F951B #42951B #1B9531
triadic
#42951B #1B4295 #951B42
tetradic
#42951B #1B7F95 #6E1B95 #95311B
square
#42951B #1B7F95 #6E1B95 #95311B
split-complementary
#42951B #311B95 #951B7F
monochromatic
#142D08 #2B6112 #42951B #59C924 #7BDF4C

Accessibility & contrast

On white

3.79
#42951B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#42951B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42951B
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42951B#FFFFFF#000000##000000
##42951B1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#8F812A
Tritanopia (blue-blind)
#3B907F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #42951b;
/* rgb */ color: rgb(66, 149, 27);
/* oklch */ color: oklch(59.5% 0.172 138.2);
Tailwind
colors: {
  custom: {
    50: '#80b563',
    500: '#42951b',
    950: '#000000',
  },
}
SCSS
$custom: #42951b;
$custom-light: #80b563;
$custom-dark: #000000;
JSON
{
  "hex": "#42951b",
  "rgb": {
    "r": 66,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 100.82,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59501,
    "c": 0.17179,
    "h": 138.2
  },
  "luminance": 0.22732
}

Semantic roles & 50–950 ramp

primary
#42951B
secondary
#9B4BC1
accent
#3CECB4
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42951B

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

Preview Lab → · Contrast checker → · Palette generator →

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