#42921F#42921F

#42921F is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.7% C 0.166 H 138.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#42921F
RGBrgb(66, 146, 31)
HSLhsl(102, 65%, 35%)
HSVhsv(102, 79%, 57%)
CMYKcmyk(54.8%, 0%, 78.8%, 42.7%)
CIE-LABlab(53.83, -44.88, 49.58)
CIE-LCHlch(53.83, 66.88, 132.15°)
OKLaboklab(58.71% -0.124 0.1106)
OKLCHoklch(58.71% 0.166 138.3)
XYZxyz(12.7725, 21.8139, 4.8335)
Luminance0.2182 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42921F #6F1F92
analogous
#7C921F #42921F #1F9235
triadic
#42921F #1F4292 #921F42
tetradic
#42921F #1F7C92 #6F1F92 #92351F
square
#42921F #1F7C92 #6F1F92 #92351F
split-complementary
#42921F #351F92 #921F7C
monochromatic
#142D0A #2B6014 #42921F #59C42A #7BDA51

Accessibility & contrast

On white

3.92
#42921F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#42921F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42921F
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42921F#FFFFFF#000000##000000
##42921F1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#3B8D7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #42921f;
/* rgb */ color: rgb(66, 146, 31);
/* oklch */ color: oklch(58.7% 0.166 138.3);
Tailwind
colors: {
  custom: {
    50: '#7fb364',
    500: '#42921f',
    950: '#000000',
  },
}
SCSS
$custom: #42921f;
$custom-light: #7fb364;
$custom-dark: #000000;
JSON
{
  "hex": "#42921f",
  "rgb": {
    "r": 66,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 101.739,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58711,
    "c": 0.1662,
    "h": 138.3
  },
  "luminance": 0.21815
}

Semantic roles & 50–950 ramp

primary
#42921F
secondary
#9C50BD
accent
#40E8B5
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42921F

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

Preview Lab → · Contrast checker → · Palette generator →

#42921F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva