#285C0E#285C0E

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

Color values

HEX#285C0E
RGBrgb(40, 92, 14)
HSLhsl(100, 74%, 21%)
HSVhsv(100, 85%, 36%)
CMYKcmyk(56.5%, 0%, 84.8%, 63.9%)
CIE-LABlab(34.27, -32.09, 36.35)
CIE-LCHlch(34.27, 48.49, 131.44°)
OKLaboklab(42.27% -0.0889 0.0807)
OKLCHoklch(42.27% 0.12 137.8)
XYZxyz(4.7813, 8.1367, 1.7340)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C0E #420E5C
analogous
#4F5C0E #285C0E #0E5C1B
triadic
#285C0E #0E285C #5C0E28
tetradic
#285C0E #0E4F5C #420E5C #5C1B0E
square
#285C0E #0E4F5C #420E5C #5C1B0E
split-complementary
#285C0E #1B0E5C #5C0E4F
monochromatic
#0C1B04 #112706 #285C0E #3F9116 #56C61E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285C0E#FFFFFF#000000##FFFFFF
##285C0E1.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)
#594F17
Tritanopia (blue-blind)
#24584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285c0e;
/* rgb */ color: rgb(40, 92, 14);
/* oklch */ color: oklch(42.3% 0.120 137.8);
Tailwind
colors: {
  custom: {
    50: '#698b54',
    500: '#285c0e',
    950: '#000000',
  },
}
SCSS
$custom: #285c0e;
$custom-light: #698b54;
$custom-dark: #000000;
JSON
{
  "hex": "#285c0e",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 14
  },
  "hsl": {
    "h": 100,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4227,
    "c": 0.12005,
    "h": 137.8
  },
  "luminance": 0.08137
}

Semantic roles & 50–950 ramp

primary
#285C0E
secondary
#743096
accent
#38F0B3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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