#42951D#42951D

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

Color values

HEX#42951D
RGBrgb(66, 149, 29)
HSLhsl(102, 67%, 35%)
HSVhsv(102, 81%, 58%)
CMYKcmyk(55.7%, 0%, 80.5%, 41.6%)
CIE-LABlab(54.80, -46.16, 51.15)
CIE-LCHlch(54.80, 68.90, 132.06°)
OKLaboklab(59.51% -0.1276 0.1136)
OKLCHoklch(59.51% 0.171 138.3)
XYZxyz(13.2155, 22.7408, 4.8552)
Luminance0.2274 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42951D #701D95
analogous
#7E951D #42951D #1D9534
triadic
#42951D #1D4295 #951D42
tetradic
#42951D #1D7E95 #701D95 #95341D
square
#42951D #1D7E95 #701D95 #95341D
split-complementary
#42951D #341D95 #951D7E
monochromatic
#152F09 #2B6213 #42951D #59C827 #7BDD50

Accessibility & contrast

On white

3.78
#42951D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##42951D#FFFFFF#000000##000000
##42951D1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42951d;
/* rgb */ color: rgb(66, 149, 29);
/* oklch */ color: oklch(59.5% 0.171 138.3);
Tailwind
colors: {
  custom: {
    50: '#80b564',
    500: '#42951d',
    950: '#000000',
  },
}
SCSS
$custom: #42951d;
$custom-light: #80b564;
$custom-dark: #000000;
JSON
{
  "hex": "#42951d",
  "rgb": {
    "r": 66,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 101.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59512,
    "c": 0.17085,
    "h": 138.3
  },
  "luminance": 0.22742
}

Semantic roles & 50–950 ramp

primary
#42951D
secondary
#9D4EC0
accent
#3DEAB5
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42951D

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

Preview Lab → · Contrast checker → · Palette generator →

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