#42852A#42852A

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

Color values

HEX#42852A
RGBrgb(66, 133, 42)
HSLhsl(104, 52%, 34%)
HSVhsv(104, 68%, 52%)
CMYKcmyk(50.4%, 0%, 68.4%, 47.8%)
CIE-LABlab(49.62, -38.79, 41.03)
CIE-LCHlch(49.62, 56.46, 133.39°)
OKLaboklab(55.27% -0.1069 0.0943)
OKLCHoklch(55.27% 0.143 138.6)
XYZxyz(11.0518, 18.0997, 5.1013)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42852A #6D2A85
analogous
#70852A #42852A #2A8540
triadic
#42852A #2A4285 #852A42
tetradic
#42852A #2A7085 #6D2A85 #85402A
square
#42852A #2A7085 #6D2A85 #85402A
split-complementary
#42852A #402A85 #852A70
monochromatic
#14280D #2B561B #42852A #59B439 #7BCC5D

Accessibility & contrast

On white

4.55
#42852A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##42852A#FFFFFF#000000##000000
##42852A1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A1E
Deuteranopia (green-blind)
#807432
Tritanopia (blue-blind)
#3D8072
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #42852a;
/* rgb */ color: rgb(66, 133, 42);
/* oklch */ color: oklch(55.3% 0.142 138.6);
Tailwind
colors: {
  custom: {
    50: '#7da968',
    500: '#42852a',
    950: '#000000',
  },
}
SCSS
$custom: #42852a;
$custom-light: #7da968;
$custom-dark: #000000;
JSON
{
  "hex": "#42852a",
  "rgb": {
    "r": 66,
    "g": 133,
    "b": 42
  },
  "hsl": {
    "h": 104.176,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55268,
    "c": 0.1425,
    "h": 138.6
  },
  "luminance": 0.181
}

Semantic roles & 50–950 ramp

primary
#42852A
secondary
#9A59B2
accent
#4CDBB6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #42852A

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

Preview Lab → · Contrast checker → · Palette generator →

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