#42931C#42931C

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

Color values

HEX#42931C
RGBrgb(66, 147, 28)
HSLhsl(101, 68%, 34%)
HSVhsv(101, 81%, 58%)
CMYKcmyk(55.1%, 0%, 81%, 42.4%)
CIE-LABlab(54.14, -45.45, 50.84)
CIE-LCHlch(54.14, 68.20, 131.80°)
OKLaboklab(58.96% -0.1257 0.1128)
OKLCHoklch(58.96% 0.169 138.1)
XYZxyz(12.8896, 22.1085, 4.6865)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42931C #6D1C93
analogous
#7E931C #42931C #1C9331
triadic
#42931C #1C4293 #931C42
tetradic
#42931C #1C7E93 #6D1C93 #93311C
square
#42931C #1C7E93 #6D1C93 #93311C
split-complementary
#42931C #311C93 #931C7E
monochromatic
#142C08 #2B6012 #42931C #59C626 #7BDD4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42931C#FFFFFF#000000##000000
##42931C1.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)
#8E7F2A
Tritanopia (blue-blind)
#3B8E7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #42931c;
/* rgb */ color: rgb(66, 147, 28);
/* oklch */ color: oklch(59.0% 0.169 138.1);
Tailwind
colors: {
  custom: {
    50: '#80b363',
    500: '#42931c',
    950: '#000000',
  },
}
SCSS
$custom: #42931c;
$custom-light: #80b363;
$custom-dark: #000000;
JSON
{
  "hex": "#42931c",
  "rgb": {
    "r": 66,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 100.84,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58964,
    "c": 0.16894,
    "h": 138.1
  },
  "luminance": 0.2211
}

Semantic roles & 50–950 ramp

primary
#42931C
secondary
#9A4CBF
accent
#3DEBB3
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42931C

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

Preview Lab → · Contrast checker → · Palette generator →

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