#285122#285122

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

Color values

HEX#285122
RGBrgb(40, 81, 34)
HSLhsl(112, 41%, 23%)
HSVhsv(112, 58%, 32%)
CMYKcmyk(50.6%, 0%, 58%, 68.2%)
CIE-LABlab(30.52, -25.09, 23.05)
CIE-LCHlch(30.52, 34.07, 137.42°)
OKLaboklab(39.26% -0.0685 0.0551)
OKLCHoklch(39.26% 0.088 141.2)
XYZxyz(4.1061, 6.4512, 2.5419)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285122 #4B2251
analogous
#405122 #285122 #225133
triadic
#285122 #222851 #512228
tetradic
#285122 #224051 #4B2251 #513322
square
#285122 #224051 #4B2251 #513322
split-complementary
#285122 #332251 #512240
monochromatic
#0B1609 #132610 #285122 #3D7C34 #53A746

Accessibility & contrast

On white

9.17
#285122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285122
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285122#FFFFFF#000000##FFFFFF
##2851221.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1E
Deuteranopia (green-blind)
#4D4625
Tritanopia (blue-blind)
#244F46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #285122;
/* rgb */ color: rgb(40, 81, 34);
/* oklch */ color: oklch(39.3% 0.088 141.2);
Tailwind
colors: {
  custom: {
    50: '#65825e',
    500: '#285122',
    950: '#000000',
  },
}
SCSS
$custom: #285122;
$custom-light: #65825e;
$custom-dark: #000000;
JSON
{
  "hex": "#285122",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 34
  },
  "hsl": {
    "h": 112.34,
    "s": 40.87,
    "l": 22.549
  },
  "oklch": {
    "l": 0.39255,
    "c": 0.08794,
    "h": 141.2
  },
  "luminance": 0.06451
}

Semantic roles & 50–950 ramp

primary
#285122
secondary
#7D4A85
accent
#57D1C1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #285122

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

Preview Lab → · Contrast checker → · Palette generator →

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