#285124#285124

#285124 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.3% C 0.086 H 142.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#285124
RGBrgb(40, 81, 36)
HSLhsl(115, 38%, 23%)
HSVhsv(115, 56%, 32%)
CMYKcmyk(50.6%, 0%, 55.6%, 68.2%)
CIE-LABlab(30.55, -24.79, 21.95)
CIE-LCHlch(30.55, 33.11, 138.48°)
OKLaboklab(39.29% -0.0676 0.0528)
OKLCHoklch(39.29% 0.086 142)
XYZxyz(4.1358, 6.4631, 2.6983)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285124 #4D2451
analogous
#3E5124 #285124 #245136
triadic
#285124 #242851 #512428
tetradic
#285124 #243E51 #4D2451 #513624
square
#285124 #243E51 #4D2451 #513624
split-complementary
#285124 #362451 #51243E
monochromatic
#0A1509 #132711 #285124 #3D7B37 #52A64A

Accessibility & contrast

On white

9.16
#285124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#285124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285124
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285124#FFFFFF#000000##FFFFFF
##2851241.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A20
Deuteranopia (green-blind)
#4D4627
Tritanopia (blue-blind)
#234F47
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #285124;
/* rgb */ color: rgb(40, 81, 36);
/* oklch */ color: oklch(39.3% 0.086 142.0);
Tailwind
colors: {
  custom: {
    50: '#658260',
    500: '#285124',
    950: '#000000',
  },
}
SCSS
$custom: #285124;
$custom-light: #658260;
$custom-dark: #000000;
JSON
{
  "hex": "#285124",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 36
  },
  "hsl": {
    "h": 114.667,
    "s": 38.462,
    "l": 22.941
  },
  "oklch": {
    "l": 0.39288,
    "c": 0.0858,
    "h": 142
  },
  "luminance": 0.06463
}

Semantic roles & 50–950 ramp

primary
#285124
secondary
#804C85
accent
#59CEC4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #285124

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

Preview Lab → · Contrast checker → · Palette generator →

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