#42981B#42981B

#42981B is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.3% C 0.175 H 138.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#42981B
RGBrgb(66, 152, 27)
HSLhsl(101, 70%, 35%)
HSVhsv(101, 82%, 60%)
CMYKcmyk(56.6%, 0%, 82.2%, 40.4%)
CIE-LABlab(55.78, -47.41, 52.67)
CIE-LCHlch(55.78, 70.86, 131.99°)
OKLaboklab(60.31% -0.1311 0.1165)
OKLCHoklch(60.31% 0.175 138.4)
XYZxyz(13.6723, 23.6927, 4.8894)
Luminance0.2369 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42981B #711B98
analogous
#80981B #42981B #1B9833
triadic
#42981B #1B4298 #981B42
tetradic
#42981B #1B8098 #711B98 #98331B
square
#42981B #1B8098 #711B98 #98331B
split-complementary
#42981B #331B98 #981B80
monochromatic
#153009 #2B6412 #42981B #59CC24 #7BE04E

Accessibility & contrast

On white

3.66
#42981B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#42981B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42981B
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42981B#FFFFFF#000000##000000
##42981B1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#3A9381
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #42981b;
/* rgb */ color: rgb(66, 152, 27);
/* oklch */ color: oklch(60.3% 0.175 138.4);
Tailwind
colors: {
  custom: {
    50: '#80b763',
    500: '#42981b',
    950: '#000000',
  },
}
SCSS
$custom: #42981b;
$custom-light: #80b763;
$custom-dark: #000000;
JSON
{
  "hex": "#42981b",
  "rgb": {
    "r": 66,
    "g": 152,
    "b": 27
  },
  "hsl": {
    "h": 101.28,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60313,
    "c": 0.17534,
    "h": 138.4
  },
  "luminance": 0.23694
}

Semantic roles & 50–950 ramp

primary
#42981B
secondary
#9D4DC2
accent
#3BEDB5
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42981B

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

Preview Lab → · Contrast checker → · Palette generator →

#42981B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva