#42835F#42835F

#42835F is a mid, moderate green. Relative luminance 0.182; OKLCH L 55.6% C 0.088 H 157.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#42835F
RGBrgb(66, 131, 95)
HSLhsl(147, 33%, 39%)
HSVhsv(147, 50%, 51%)
CMYKcmyk(49.6%, 0%, 27.5%, 48.6%)
CIE-LABlab(49.76, -29.66, 13.19)
CIE-LCHlch(49.76, 32.46, 156.02°)
OKLaboklab(55.64% -0.0814 0.0336)
OKLCHoklch(55.64% 0.088 157.6)
XYZxyz(12.4277, 18.2161, 13.6854)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42835F #834266
analogous
#458342 #42835F #42837F
triadic
#42835F #5F4283 #835F42
tetradic
#42835F #424583 #834266 #837F42
square
#42835F #424583 #834266 #837F42
split-complementary
#42835F #7F4283 #834245
monochromatic
#193224 #2D5A41 #42835F #58AB7D #80BF9C

Accessibility & contrast

On white

4.52
#42835F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#42835F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42835F
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42835F#FFFFFF#000000##000000
##42835F1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#827A5D
Deuteranopia (green-blind)
#787461
Tritanopia (blue-blind)
#318279
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #42835f;
/* rgb */ color: rgb(66, 131, 95);
/* oklch */ color: oklch(55.6% 0.088 157.6);
Tailwind
colors: {
  custom: {
    50: '#7ba78c',
    500: '#42835f',
    950: '#000000',
  },
}
SCSS
$custom: #42835f;
$custom-light: #7ba78c;
$custom-dark: #000000;
JSON
{
  "hex": "#42835f",
  "rgb": {
    "r": 66,
    "g": 131,
    "b": 95
  },
  "hsl": {
    "h": 146.769,
    "s": 32.995,
    "l": 38.627
  },
  "oklch": {
    "l": 0.55642,
    "c": 0.08807,
    "h": 157.6
  },
  "luminance": 0.18217
}

Semantic roles & 50–950 ramp

primary
#42835F
secondary
#AA7793
accent
#5F9AC9
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#0A0F0C
muted
#7C7F7D

Preview Lab

Preview with #42835F

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

Preview Lab → · Contrast checker → · Palette generator →

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