#285C0F#285C0F

#285C0F is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.3% C 0.119 H 137.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#285C0F
RGBrgb(40, 92, 15)
HSLhsl(101, 72%, 21%)
HSVhsv(101, 84%, 36%)
CMYKcmyk(56.5%, 0%, 83.7%, 63.9%)
CIE-LABlab(34.27, -32.02, 36.01)
CIE-LCHlch(34.27, 48.19, 131.65°)
OKLaboklab(42.28% -0.0887 0.0801)
OKLCHoklch(42.28% 0.12 137.9)
XYZxyz(4.7883, 8.1395, 1.7706)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C0F #430F5C
analogous
#4E5C0F #285C0F #0F5C1C
triadic
#285C0F #0F285C #5C0F28
tetradic
#285C0F #0F4E5C #430F5C #5C1C0F
square
#285C0F #0F4E5C #430F5C #5C1C0F
split-complementary
#285C0F #1C0F5C #5C0F4E
monochromatic
#0B1A04 #112706 #285C0F #3F9118 #56C520

Accessibility & contrast

On white

7.99
#285C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#285C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285C0F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C0F#FFFFFF#000000##FFFFFF
##285C0F1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#24584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285c0f;
/* rgb */ color: rgb(40, 92, 15);
/* oklch */ color: oklch(42.3% 0.119 137.9);
Tailwind
colors: {
  custom: {
    50: '#698b54',
    500: '#285c0f',
    950: '#000000',
  },
}
SCSS
$custom: #285c0f;
$custom-light: #698b54;
$custom-dark: #000000;
JSON
{
  "hex": "#285c0f",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 15
  },
  "hsl": {
    "h": 100.519,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42277,
    "c": 0.1195,
    "h": 137.9
  },
  "luminance": 0.0814
}

Semantic roles & 50–950 ramp

primary
#285C0F
secondary
#753195
accent
#39EFB4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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