#42852D#42852D

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

Color values

HEX#42852D
RGBrgb(66, 133, 45)
HSLhsl(106, 49%, 35%)
HSVhsv(106, 66%, 52%)
CMYKcmyk(50.4%, 0%, 66.2%, 47.8%)
CIE-LABlab(49.64, -38.49, 39.72)
CIE-LCHlch(49.64, 55.31, 134.10°)
OKLaboklab(55.3% -0.1059 0.0919)
OKLCHoklch(55.3% 0.14 139)
XYZxyz(11.1075, 18.1220, 5.3947)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42852D #702D85
analogous
#6E852D #42852D #2D8544
triadic
#42852D #2D4285 #852D42
tetradic
#42852D #2D6E85 #702D85 #85442D
square
#42852D #2D6E85 #702D85 #85442D
split-complementary
#42852D #442D85 #852D6E
monochromatic
#152A0E #2B571E #42852D #59B33C #7BCA62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42852D#FFFFFF#000000##000000
##42852D1.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)
#897A22
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#3C8173
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #42852d;
/* rgb */ color: rgb(66, 133, 45);
/* oklch */ color: oklch(55.3% 0.140 139.0);
Tailwind
colors: {
  custom: {
    50: '#7da96a',
    500: '#42852d',
    950: '#000000',
  },
}
SCSS
$custom: #42852d;
$custom-light: #7da96a;
$custom-dark: #000000;
JSON
{
  "hex": "#42852d",
  "rgb": {
    "r": 66,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 105.682,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55299,
    "c": 0.14017,
    "h": 139
  },
  "luminance": 0.18123
}

Semantic roles & 50–950 ramp

primary
#42852D
secondary
#9D5DB0
accent
#4FD9B8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #42852D

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

Preview Lab → · Contrast checker → · Palette generator →

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