#285129#285129

#285129 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.4% C 0.080 H 144.3°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#285129
RGBrgb(40, 81, 41)
HSLhsl(121, 34%, 24%)
HSVhsv(121, 51%, 32%)
CMYKcmyk(50.6%, 0%, 49.4%, 68.2%)
CIE-LABlab(30.63, -23.98, 19.14)
CIE-LCHlch(30.63, 30.68, 141.41°)
OKLaboklab(39.38% -0.0652 0.0468)
OKLCHoklch(39.38% 0.08 144.3)
XYZxyz(4.2175, 6.4958, 3.1290)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285129 #512850
analogous
#3B5128 #285129 #28513D
triadic
#285129 #292851 #512928
tetradic
#285129 #283B51 #512850 #513D28
square
#285129 #283B51 #512850 #513D28
split-complementary
#285129 #3D2851 #51283B
monochromatic
#0A140A #142814 #285129 #3C7A3E #50A352

Accessibility & contrast

On white

9.13
#285129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#285129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285129
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285129#FFFFFF#000000##FFFFFF
##2851291.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A26
Deuteranopia (green-blind)
#4D472C
Tritanopia (blue-blind)
#224F47
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #285129;
/* rgb */ color: rgb(40, 81, 41);
/* oklch */ color: oklch(39.4% 0.080 144.3);
Tailwind
colors: {
  custom: {
    50: '#658263',
    500: '#285129',
    950: '#000000',
  },
}
SCSS
$custom: #285129;
$custom-light: #658263;
$custom-dark: #000000;
JSON
{
  "hex": "#285129",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 41
  },
  "hsl": {
    "h": 121.463,
    "s": 33.884,
    "l": 23.725
  },
  "oklch": {
    "l": 0.39377,
    "c": 0.08026,
    "h": 144.3
  },
  "luminance": 0.06496
}

Semantic roles & 50–950 ramp

primary
#285129
secondary
#845182
accent
#5EC7CA
background
#F6F8F5
surface
#EBEFEA
border
#C6CAC6
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #285129

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

Preview Lab → · Contrast checker → · Palette generator →

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