#285A0F#285A0F

#285A0F is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.7% C 0.117 H 137.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#285A0F
RGBrgb(40, 90, 15)
HSLhsl(100, 71%, 21%)
HSVhsv(100, 83%, 35%)
CMYKcmyk(55.6%, 0%, 83.3%, 64.7%)
CIE-LABlab(33.56, -31.17, 35.32)
CIE-LCHlch(33.56, 47.11, 131.43°)
OKLaboklab(41.69% -0.0864 0.0787)
OKLCHoklch(41.69% 0.117 137.7)
XYZxyz(4.6173, 7.7976, 1.7136)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A0F #410F5A
analogous
#4D5A0F #285A0F #0F5A1B
triadic
#285A0F #0F285A #5A0F28
tetradic
#285A0F #0F4D5A #410F5A #5A1B0F
square
#285A0F #0F4D5A #410F5A #5A1B0F
split-complementary
#285A0F #1B0F5A #5A0F4D
monochromatic
#0C1A04 #112606 #285A0F #3F8E18 #57C320

Accessibility & contrast

On white

8.20
#285A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#285A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285A0F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285A0F#FFFFFF#000000##FFFFFF
##285A0F1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5100
Deuteranopia (green-blind)
#574D17
Tritanopia (blue-blind)
#24574C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #285a0f;
/* rgb */ color: rgb(40, 90, 15);
/* oklch */ color: oklch(41.7% 0.117 137.7);
Tailwind
colors: {
  custom: {
    50: '#688954',
    500: '#285a0f',
    950: '#000000',
  },
}
SCSS
$custom: #285a0f;
$custom-light: #688954;
$custom-dark: #000000;
JSON
{
  "hex": "#285a0f",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 100,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41688,
    "c": 0.11685,
    "h": 137.7
  },
  "luminance": 0.07798
}

Semantic roles & 50–950 ramp

primary
#285A0F
secondary
#733194
accent
#3AEEB2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #285A0F

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

Preview Lab → · Contrast checker → · Palette generator →

#285A0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva