#42911F#42911F

#42911F is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.4% C 0.165 H 138.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#42911F
RGBrgb(66, 145, 31)
HSLhsl(102, 65%, 35%)
HSVhsv(102, 79%, 57%)
CMYKcmyk(54.5%, 0%, 78.6%, 43.1%)
CIE-LABlab(53.50, -44.50, 49.26)
CIE-LCHlch(53.50, 66.38, 132.09°)
OKLaboklab(58.44% -0.123 0.11)
OKLCHoklch(58.44% 0.165 138.2)
XYZxyz(12.6190, 21.5070, 4.7824)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42911F #6E1F91
analogous
#7B911F #42911F #1F9135
triadic
#42911F #1F4291 #911F42
tetradic
#42911F #1F7B91 #6E1F91 #91351F
square
#42911F #1F7B91 #6E1F91 #91351F
split-complementary
#42911F #351F91 #911F7B
monochromatic
#142C09 #2B5F14 #42911F #59C32A #7BDA51

Accessibility & contrast

On white

3.96
#42911F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#42911F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42911F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42911F#FFFFFF#000000##000000
##42911F1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968402
Deuteranopia (green-blind)
#8C7D2C
Tritanopia (blue-blind)
#3B8C7C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #42911f;
/* rgb */ color: rgb(66, 145, 31);
/* oklch */ color: oklch(58.4% 0.165 138.2);
Tailwind
colors: {
  custom: {
    50: '#7fb264',
    500: '#42911f',
    950: '#000000',
  },
}
SCSS
$custom: #42911f;
$custom-light: #7fb264;
$custom-dark: #000000;
JSON
{
  "hex": "#42911f",
  "rgb": {
    "r": 66,
    "g": 145,
    "b": 31
  },
  "hsl": {
    "h": 101.579,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5844,
    "c": 0.16499,
    "h": 138.2
  },
  "luminance": 0.21508
}

Semantic roles & 50–950 ramp

primary
#42911F
secondary
#9B4FBD
accent
#40E8B4
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42911F

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

Preview Lab → · Contrast checker → · Palette generator →

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