#42931D#42931D

#42931D is a mid, vivid green. Relative luminance 0.221; OKLCH L 59.0% C 0.168 H 138.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#42931D
RGBrgb(66, 147, 29)
HSLhsl(101, 67%, 35%)
HSVhsv(101, 80%, 58%)
CMYKcmyk(55.1%, 0%, 80.3%, 42.4%)
CIE-LABlab(54.15, -45.39, 50.53)
CIE-LCHlch(54.15, 67.93, 131.93°)
OKLaboklab(58.97% -0.1255 0.1123)
OKLCHoklch(58.97% 0.168 138.2)
XYZxyz(12.9018, 22.1134, 4.7506)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42931D #6E1D93
analogous
#7D931D #42931D #1D9333
triadic
#42931D #1D4293 #931D42
tetradic
#42931D #1D7D93 #6E1D93 #93331D
square
#42931D #1D7D93 #6E1D93 #93331D
split-complementary
#42931D #331D93 #931D7D
monochromatic
#142D09 #2B6013 #42931D #59C627 #7BDC4E

Accessibility & contrast

On white

3.87
#42931D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#42931D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42931D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42931D#FFFFFF#000000##000000
##42931D1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#3B8E7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #42931d;
/* rgb */ color: rgb(66, 147, 29);
/* oklch */ color: oklch(59.0% 0.168 138.2);
Tailwind
colors: {
  custom: {
    50: '#80b363',
    500: '#42931d',
    950: '#000000',
  },
}
SCSS
$custom: #42931d;
$custom-light: #80b363;
$custom-dark: #000000;
JSON
{
  "hex": "#42931d",
  "rgb": {
    "r": 66,
    "g": 147,
    "b": 29
  },
  "hsl": {
    "h": 101.186,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5897,
    "c": 0.16845,
    "h": 138.2
  },
  "luminance": 0.22114
}

Semantic roles & 50–950 ramp

primary
#42931D
secondary
#9B4DBF
accent
#3EEAB4
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42931D

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

Preview Lab → · Contrast checker → · Palette generator →

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