#42931A#42931A

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

Color values

HEX#42931A
RGBrgb(66, 147, 26)
HSLhsl(100, 70%, 34%)
HSVhsv(100, 82%, 58%)
CMYKcmyk(55.1%, 0%, 82.3%, 42.4%)
CIE-LABlab(54.13, -45.56, 51.44)
CIE-LCHlch(54.13, 68.72, 131.53°)
OKLaboklab(58.95% -0.1262 0.1138)
OKLCHoklch(58.95% 0.17 138)
XYZxyz(12.8665, 22.0992, 4.5647)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42931A #6B1A93
analogous
#7F931A #42931A #1A932F
triadic
#42931A #1A4293 #931A42
tetradic
#42931A #1A7F93 #6B1A93 #932F1A
square
#42931A #1A7F93 #6B1A93 #932F1A
split-complementary
#42931A #2F1A93 #931A7F
monochromatic
#132B08 #2B5F11 #42931A #59C723 #7ADF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #42931a;
/* rgb */ color: rgb(66, 147, 26);
/* oklch */ color: oklch(59.0% 0.170 138.0);
Tailwind
colors: {
  custom: {
    50: '#80b362',
    500: '#42931a',
    950: '#000000',
  },
}
SCSS
$custom: #42931a;
$custom-light: #80b362;
$custom-dark: #000000;
JSON
{
  "hex": "#42931a",
  "rgb": {
    "r": 66,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 100.165,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58953,
    "c": 0.16988,
    "h": 138
  },
  "luminance": 0.221
}

Semantic roles & 50–950 ramp

primary
#42931A
secondary
#9948C0
accent
#3BEDB2
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42931A

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

Preview Lab → · Contrast checker → · Palette generator →

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