#42852C#42852C

#42852C is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.3% C 0.141 H 138.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#42852C
RGBrgb(66, 133, 44)
HSLhsl(105, 50%, 35%)
HSVhsv(105, 67%, 52%)
CMYKcmyk(50.4%, 0%, 66.9%, 47.8%)
CIE-LABlab(49.63, -38.59, 40.16)
CIE-LCHlch(49.63, 55.70, 133.86°)
OKLaboklab(55.29% -0.1062 0.0927)
OKLCHoklch(55.29% 0.141 138.9)
XYZxyz(11.0885, 18.1144, 5.2945)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42852C #6F2C85
analogous
#6E852C #42852C #2C8543
triadic
#42852C #2C4285 #852C42
tetradic
#42852C #2C6E85 #6F2C85 #85432C
square
#42852C #2C6E85 #6F2C85 #85432C
split-complementary
#42852C #432C85 #852C6E
monochromatic
#14290E #2B571D #42852C #59B33B #7BCB61

Accessibility & contrast

On white

4.54
#42852C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#42852C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42852C
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42852C#FFFFFF#000000##000000
##42852C1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A21
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#3C8173
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #42852c;
/* rgb */ color: rgb(66, 133, 44);
/* oklch */ color: oklch(55.3% 0.141 138.9);
Tailwind
colors: {
  custom: {
    50: '#7da969',
    500: '#42852c',
    950: '#000000',
  },
}
SCSS
$custom: #42852c;
$custom-light: #7da969;
$custom-dark: #000000;
JSON
{
  "hex": "#42852c",
  "rgb": {
    "r": 66,
    "g": 133,
    "b": 44
  },
  "hsl": {
    "h": 105.169,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55289,
    "c": 0.14095,
    "h": 138.9
  },
  "luminance": 0.18115
}

Semantic roles & 50–950 ramp

primary
#42852C
secondary
#9C5CB1
accent
#4EDAB7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #42852C

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

Preview Lab → · Contrast checker → · Palette generator →

#42852C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva