#285B0F#285B0F

#285B0F is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.118 H 137.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#285B0F
RGBrgb(40, 91, 15)
HSLhsl(100, 72%, 21%)
HSVhsv(100, 84%, 36%)
CMYKcmyk(56%, 0%, 83.5%, 64.3%)
CIE-LABlab(33.91, -31.60, 35.67)
CIE-LCHlch(33.91, 47.65, 131.54°)
OKLaboklab(41.98% -0.0875 0.0794)
OKLCHoklch(41.98% 0.118 137.8)
XYZxyz(4.7022, 7.9674, 1.7419)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B0F #420F5B
analogous
#4E5B0F #285B0F #0F5B1C
triadic
#285B0F #0F285B #5B0F28
tetradic
#285B0F #0F4E5B #420F5B #5B1C0F
square
#285B0F #0F4E5B #420F5B #5B1C0F
split-complementary
#285B0F #1C0F5B #5B0F4E
monochromatic
#0C1A04 #112606 #285B0F #3F9018 #56C420

Accessibility & contrast

On white

8.10
#285B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#285B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285B0F
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285B0F#FFFFFF#000000##FFFFFF
##285B0F1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5200
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#24574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285b0f;
/* rgb */ color: rgb(40, 91, 15);
/* oklch */ color: oklch(42.0% 0.118 137.8);
Tailwind
colors: {
  custom: {
    50: '#688a54',
    500: '#285b0f',
    950: '#000000',
  },
}
SCSS
$custom: #285b0f;
$custom-light: #688a54;
$custom-dark: #000000;
JSON
{
  "hex": "#285b0f",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 15
  },
  "hsl": {
    "h": 100.263,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41983,
    "c": 0.11818,
    "h": 137.8
  },
  "luminance": 0.07968
}

Semantic roles & 50–950 ramp

primary
#285B0F
secondary
#743195
accent
#39EEB3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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