#42991B#42991B

#42991B is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.6% C 0.177 H 138.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#42991B
RGBrgb(66, 153, 27)
HSLhsl(101, 70%, 35%)
HSVhsv(101, 82%, 60%)
CMYKcmyk(56.9%, 0%, 82.4%, 40%)
CIE-LABlab(56.11, -47.79, 52.97)
CIE-LCHlch(56.11, 71.34, 132.05°)
OKLaboklab(60.58% -0.1321 0.1171)
OKLCHoklch(60.58% 0.177 138.4)
XYZxyz(13.8353, 24.0187, 4.9437)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42991B #721B99
analogous
#81991B #42991B #1B9933
triadic
#42991B #1B4299 #991B42
tetradic
#42991B #1B8199 #721B99 #99331B
square
#42991B #1B8199 #721B99 #99331B
split-complementary
#42991B #331B99 #991B81
monochromatic
#153109 #2C6512 #42991B #58CD24 #7CE04F

Accessibility & contrast

On white

3.62
#42991B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#42991B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42991B
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42991B#FFFFFF#000000##000000
##42991B1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#93842B
Tritanopia (blue-blind)
#3A9382
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #42991b;
/* rgb */ color: rgb(66, 153, 27);
/* oklch */ color: oklch(60.6% 0.177 138.4);
Tailwind
colors: {
  custom: {
    50: '#81b863',
    500: '#42991b',
    950: '#000000',
  },
}
SCSS
$custom: #42991b;
$custom-light: #81b863;
$custom-dark: #000000;
JSON
{
  "hex": "#42991b",
  "rgb": {
    "r": 66,
    "g": 153,
    "b": 27
  },
  "hsl": {
    "h": 101.429,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60584,
    "c": 0.17652,
    "h": 138.4
  },
  "luminance": 0.2402
}

Semantic roles & 50–950 ramp

primary
#42991B
secondary
#9E4EC2
accent
#3BEDB6
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42991B

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

Preview Lab → · Contrast checker → · Palette generator →

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