#42852F#42852F

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

Color values

HEX#42852F
RGBrgb(66, 133, 47)
HSLhsl(107, 48%, 35%)
HSVhsv(107, 65%, 52%)
CMYKcmyk(50.4%, 0%, 64.7%, 47.8%)
CIE-LABlab(49.66, -38.29, 38.82)
CIE-LCHlch(49.66, 54.53, 134.60°)
OKLaboklab(55.32% -0.1052 0.0902)
OKLCHoklch(55.32% 0.139 139.4)
XYZxyz(11.1470, 18.1377, 5.6023)
Luminance0.1814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42852F #722F85
analogous
#6D852F #42852F #2F8547
triadic
#42852F #2F4285 #852F42
tetradic
#42852F #2F6D85 #722F85 #85472F
square
#42852F #2F6D85 #722F85 #85472F
split-complementary
#42852F #472F85 #852F6D
monochromatic
#152B0F #2C581F #42852F #58B23F #7CC966

Accessibility & contrast

On white

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

On black

4.63
#42852F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42852F
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42852F#FFFFFF#000000##000000
##42852F1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42852f;
/* rgb */ color: rgb(66, 133, 47);
/* oklch */ color: oklch(55.3% 0.139 139.4);
Tailwind
colors: {
  custom: {
    50: '#7ca96b',
    500: '#42852f',
    950: '#000000',
  },
}
SCSS
$custom: #42852f;
$custom-light: #7ca96b;
$custom-dark: #000000;
JSON
{
  "hex": "#42852f",
  "rgb": {
    "r": 66,
    "g": 133,
    "b": 47
  },
  "hsl": {
    "h": 106.744,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55321,
    "c": 0.13854,
    "h": 139.4
  },
  "luminance": 0.18139
}

Semantic roles & 50–950 ramp

primary
#42852F
secondary
#9E60B0
accent
#50D7BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #42852F

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

Preview Lab → · Contrast checker → · Palette generator →

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