#285233#285233

#285233 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.9% C 0.071 H 150.6°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#285233
RGBrgb(40, 82, 51)
HSLhsl(136, 34%, 24%)
HSVhsv(136, 51%, 32%)
CMYKcmyk(51.2%, 0%, 37.8%, 67.8%)
CIE-LABlab(31.17, -22.58, 13.79)
CIE-LCHlch(31.17, 26.46, 148.58°)
OKLaboklab(39.88% -0.0614 0.0346)
OKLCHoklch(39.88% 0.071 150.6)
XYZxyz(4.4896, 6.7244, 4.1927)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285233 #522847
analogous
#325228 #285233 #285248
triadic
#285233 #332852 #523328
tetradic
#285233 #283252 #522847 #524828
square
#285233 #283252 #522847 #524828
split-complementary
#285233 #482852 #522832
monochromatic
#0A150D #142919 #285233 #3C7B4D #50A466

Accessibility & contrast

On white

8.96
#285233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#285233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285233
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285233#FFFFFF#000000##FFFFFF
##2852331.008.962.358.96
#FFFFFF8.961.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C31
Deuteranopia (green-blind)
#4C4835
Tritanopia (blue-blind)
#20514A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #285233;
/* rgb */ color: rgb(40, 82, 51);
/* oklch */ color: oklch(39.9% 0.071 150.6);
Tailwind
colors: {
  custom: {
    50: '#65836b',
    500: '#285233',
    950: '#000000',
  },
}
SCSS
$custom: #285233;
$custom-light: #65836b;
$custom-dark: #000000;
JSON
{
  "hex": "#285233",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 51
  },
  "hsl": {
    "h": 135.714,
    "s": 34.426,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3988,
    "c": 0.07053,
    "h": 150.6
  },
  "luminance": 0.06725
}

Semantic roles & 50–950 ramp

primary
#285233
secondary
#855177
accent
#5DAECB
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #285233

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

Preview Lab → · Contrast checker → · Palette generator →

#285233 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva