#285229#285229

#285229 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.7% C 0.082 H 144.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#285229
RGBrgb(40, 82, 41)
HSLhsl(121, 34%, 24%)
HSVhsv(121, 51%, 32%)
CMYKcmyk(51.2%, 0%, 50%, 67.8%)
CIE-LABlab(30.99, -24.47, 19.59)
CIE-LCHlch(30.99, 31.34, 141.32°)
OKLaboklab(39.67% -0.0665 0.0478)
OKLCHoklch(39.67% 0.082 144.3)
XYZxyz(4.2924, 6.6455, 3.1539)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285229 #522851
analogous
#3C5228 #285229 #28523E
triadic
#285229 #292852 #522928
tetradic
#285229 #283C52 #522851 #523E28
square
#285229 #283C52 #522851 #523E28
split-complementary
#285229 #3E2852 #52283C
monochromatic
#0A150A #142914 #285229 #3C7B3E #50A452

Accessibility & contrast

On white

9.02
#285229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#285229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285229
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285229#FFFFFF#000000##FFFFFF
##2852291.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B26
Deuteranopia (green-blind)
#4E472C
Tritanopia (blue-blind)
#225048
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #285229;
/* rgb */ color: rgb(40, 82, 41);
/* oklch */ color: oklch(39.7% 0.082 144.3);
Tailwind
colors: {
  custom: {
    50: '#658363',
    500: '#285229',
    950: '#000000',
  },
}
SCSS
$custom: #285229;
$custom-light: #658363;
$custom-dark: #000000;
JSON
{
  "hex": "#285229",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 41
  },
  "hsl": {
    "h": 121.429,
    "s": 34.426,
    "l": 23.922
  },
  "oklch": {
    "l": 0.39668,
    "c": 0.08194,
    "h": 144.3
  },
  "luminance": 0.06646
}

Semantic roles & 50–950 ramp

primary
#285229
secondary
#855183
accent
#5DC8CB
background
#F6F8F5
surface
#EBEFEA
border
#C6CAC6
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #285229

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

Preview Lab → · Contrast checker → · Palette generator →

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