#285231#285231

#285231 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.8% C 0.073 H 149.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#285231
RGBrgb(40, 82, 49)
HSLhsl(133, 34%, 24%)
HSVhsv(133, 51%, 32%)
CMYKcmyk(51.2%, 0%, 40.2%, 67.8%)
CIE-LABlab(31.13, -22.99, 14.97)
CIE-LCHlch(31.13, 27.43, 146.93°)
OKLaboklab(39.83% -0.0625 0.0374)
OKLCHoklch(39.83% 0.073 149.1)
XYZxyz(4.4465, 6.7071, 3.9654)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285231 #522849
analogous
#345228 #285231 #285246
triadic
#285231 #312852 #523128
tetradic
#285231 #283452 #522849 #524628
square
#285231 #283452 #522849 #524628
split-complementary
#285231 #462852 #522834
monochromatic
#0A150C #142918 #285231 #3C7B4A #50A462

Accessibility & contrast

On white

8.97
#285231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#285231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285231
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285231#FFFFFF#000000##FFFFFF
##2852311.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2F
Deuteranopia (green-blind)
#4D4833
Tritanopia (blue-blind)
#20514A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #285231;
/* rgb */ color: rgb(40, 82, 49);
/* oklch */ color: oklch(39.8% 0.073 149.1);
Tailwind
colors: {
  custom: {
    50: '#658369',
    500: '#285231',
    950: '#000000',
  },
}
SCSS
$custom: #285231;
$custom-light: #658369;
$custom-dark: #000000;
JSON
{
  "hex": "#285231",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 49
  },
  "hsl": {
    "h": 132.857,
    "s": 34.426,
    "l": 23.922
  },
  "oklch": {
    "l": 0.39833,
    "c": 0.07281,
    "h": 149.1
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#285231
secondary
#85517A
accent
#5DB3CB
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #285231

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

Preview Lab → · Contrast checker → · Palette generator →

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