#285D10#285D10

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

Color values

HEX#285D10
RGBrgb(40, 93, 16)
HSLhsl(101, 71%, 21%)
HSVhsv(101, 83%, 36%)
CMYKcmyk(57%, 0%, 82.8%, 63.5%)
CIE-LABlab(34.63, -32.38, 35.99)
CIE-LCHlch(34.63, 48.41, 131.97°)
OKLaboklab(42.58% -0.0895 0.0803)
OKLCHoklch(42.58% 0.12 138.1)
XYZxyz(4.8828, 8.3168, 1.8381)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285D10 #45105D
analogous
#4F5D10 #285D10 #105D1F
triadic
#285D10 #10285D #5D1028
tetradic
#285D10 #104F5D #45105D #5D1F10
square
#285D10 #104F5D #45105D #5D1F10
split-complementary
#285D10 #1F105D #5D104F
monochromatic
#0B1A04 #122907 #285D10 #3E9119 #55C522

Accessibility & contrast

On white

7.88
#285D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285D10
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285D10#FFFFFF#000000##FFFFFF
##285D101.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #285d10;
/* rgb */ color: rgb(40, 93, 16);
/* oklch */ color: oklch(42.6% 0.120 138.1);
Tailwind
colors: {
  custom: {
    50: '#698b55',
    500: '#285d10',
    950: '#000000',
  },
}
SCSS
$custom: #285d10;
$custom-light: #698b55;
$custom-dark: #000000;
JSON
{
  "hex": "#285d10",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 16
  },
  "hsl": {
    "h": 101.299,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42577,
    "c": 0.12026,
    "h": 138.1
  },
  "luminance": 0.08317
}

Semantic roles & 50–950 ramp

primary
#285D10
secondary
#773396
accent
#3AEDB6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285D10

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

Preview Lab → · Contrast checker → · Palette generator →

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