#285D0F#285D0F

#285D0F is a dark, vivid green. Relative luminance 0.083; OKLCH L 42.6% C 0.121 H 138.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#285D0F
RGBrgb(40, 93, 15)
HSLhsl(101, 72%, 21%)
HSVhsv(101, 84%, 36%)
CMYKcmyk(57%, 0%, 83.9%, 63.5%)
CIE-LABlab(34.63, -32.45, 36.34)
CIE-LCHlch(34.63, 48.72, 131.76°)
OKLaboklab(42.57% -0.0898 0.0808)
OKLCHoklch(42.57% 0.121 138)
XYZxyz(4.8755, 8.3139, 1.7997)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285D0F #440F5D
analogous
#4F5D0F #285D0F #0F5D1D
triadic
#285D0F #0F285D #5D0F28
tetradic
#285D0F #0F4F5D #440F5D #5D1D0F
square
#285D0F #0F4F5D #440F5D #5D1D0F
split-complementary
#285D0F #1D0F5D #5D0F4F
monochromatic
#0B1A04 #112806 #285D0F #3F9217 #55C620

Accessibility & contrast

On white

7.89
#285D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#285D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285D0F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285D0F#FFFFFF#000000##FFFFFF
##285D0F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#595018
Tritanopia (blue-blind)
#24594F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285d0f;
/* rgb */ color: rgb(40, 93, 15);
/* oklch */ color: oklch(42.6% 0.121 138.0);
Tailwind
colors: {
  custom: {
    50: '#698b55',
    500: '#285d0f',
    950: '#000000',
  },
}
SCSS
$custom: #285d0f;
$custom-light: #698b55;
$custom-dark: #000000;
JSON
{
  "hex": "#285d0f",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 15
  },
  "hsl": {
    "h": 100.769,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42571,
    "c": 0.12082,
    "h": 138
  },
  "luminance": 0.08314
}

Semantic roles & 50–950 ramp

primary
#285D0F
secondary
#763196
accent
#39EFB5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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