#42951A#42951A

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

Color values

HEX#42951A
RGBrgb(66, 149, 26)
HSLhsl(100, 70%, 34%)
HSVhsv(100, 83%, 58%)
CMYKcmyk(55.7%, 0%, 82.6%, 41.6%)
CIE-LABlab(54.79, -46.33, 52.05)
CIE-LCHlch(54.79, 69.68, 131.67°)
OKLaboklab(59.5% -0.1282 0.115)
OKLCHoklch(59.5% 0.172 138.1)
XYZxyz(13.1802, 22.7267, 4.6692)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42951A #6D1A95
analogous
#80951A #42951A #1A9530
triadic
#42951A #1A4295 #951A42
tetradic
#42951A #1A8095 #6D1A95 #95301A
square
#42951A #1A8095 #6D1A95 #95301A
split-complementary
#42951A #301A95 #951A80
monochromatic
#142D08 #2B6111 #42951A #59C923 #7BDF4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42951A#FFFFFF#000000##000000
##42951A1.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)
#8F8129
Tritanopia (blue-blind)
#3B907F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #42951a;
/* rgb */ color: rgb(66, 149, 26);
/* oklch */ color: oklch(59.5% 0.172 138.1);
Tailwind
colors: {
  custom: {
    50: '#80b562',
    500: '#42951a',
    950: '#000000',
  },
}
SCSS
$custom: #42951a;
$custom-light: #80b562;
$custom-dark: #000000;
JSON
{
  "hex": "#42951a",
  "rgb": {
    "r": 66,
    "g": 149,
    "b": 26
  },
  "hsl": {
    "h": 100.488,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59495,
    "c": 0.17225,
    "h": 138.1
  },
  "luminance": 0.22728
}

Semantic roles & 50–950 ramp

primary
#42951A
secondary
#9A4AC1
accent
#3BEDB3
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42951A

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

Preview Lab → · Contrast checker → · Palette generator →

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