#42845F#42845F

#42845F is a mid, moderate green. Relative luminance 0.185; OKLCH L 55.9% C 0.090 H 157.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#42845F
RGBrgb(66, 132, 95)
HSLhsl(146, 33%, 39%)
HSVhsv(146, 50%, 52%)
CMYKcmyk(50%, 0%, 28%, 48.2%)
CIE-LABlab(50.08, -30.14, 13.64)
CIE-LCHlch(50.08, 33.08, 155.65°)
OKLaboklab(55.91% -0.0826 0.0347)
OKLCHoklch(55.91% 0.09 157.2)
XYZxyz(12.5626, 18.4860, 13.7304)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42845F #844267
analogous
#468442 #42845F #428480
triadic
#42845F #5F4284 #845F42
tetradic
#42845F #424684 #844267 #848042
square
#42845F #424684 #844267 #848042
split-complementary
#42845F #804284 #844246
monochromatic
#193224 #2E5B42 #42845F #58AB7D #81C09C

Accessibility & contrast

On white

4.47
#42845F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#42845F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42845F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42845F#FFFFFF#000000##000000
##42845F1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#837B5D
Deuteranopia (green-blind)
#797461
Tritanopia (blue-blind)
#31837A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #42845f;
/* rgb */ color: rgb(66, 132, 95);
/* oklch */ color: oklch(55.9% 0.090 157.2);
Tailwind
colors: {
  custom: {
    50: '#7ba88c',
    500: '#42845f',
    950: '#000000',
  },
}
SCSS
$custom: #42845f;
$custom-light: #7ba88c;
$custom-dark: #000000;
JSON
{
  "hex": "#42845f",
  "rgb": {
    "r": 66,
    "g": 132,
    "b": 95
  },
  "hsl": {
    "h": 146.364,
    "s": 33.333,
    "l": 38.824
  },
  "oklch": {
    "l": 0.55905,
    "c": 0.08964,
    "h": 157.2
  },
  "luminance": 0.18487
}

Semantic roles & 50–950 ramp

primary
#42845F
secondary
#AB7794
accent
#5E9AC9
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#0A0F0C
muted
#7C7F7D

Preview Lab

Preview with #42845F

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

Preview Lab → · Contrast checker → · Palette generator →

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