#285F10#285F10

#285F10 is a dark, vivid green. Relative luminance 0.087; OKLCH L 43.2% C 0.123 H 138.3°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#285F10
RGBrgb(40, 95, 16)
HSLhsl(102, 71%, 22%)
HSVhsv(102, 83%, 37%)
CMYKcmyk(57.9%, 0%, 83.2%, 62.7%)
CIE-LABlab(35.35, -33.22, 36.68)
CIE-LCHlch(35.35, 49.48, 132.17°)
OKLaboklab(43.16% -0.0918 0.0817)
OKLCHoklch(43.16% 0.123 138.3)
XYZxyz(5.0606, 8.6725, 1.8974)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F10 #47105F
analogous
#505F10 #285F10 #105F20
triadic
#285F10 #10285F #5F1028
tetradic
#285F10 #10505F #47105F #5F2010
square
#285F10 #10505F #47105F #5F2010
split-complementary
#285F10 #20105F #5F1050
monochromatic
#0B1A04 #122B07 #285F10 #3E9319 #54C822

Accessibility & contrast

On white

7.68
#285F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#285F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285F10
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F10#FFFFFF#000000##FFFFFF
##285F101.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5B5119
Tritanopia (blue-blind)
#235B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285f10;
/* rgb */ color: rgb(40, 95, 16);
/* oklch */ color: oklch(43.2% 0.123 138.3);
Tailwind
colors: {
  custom: {
    50: '#698d55',
    500: '#285f10',
    950: '#000000',
  },
}
SCSS
$custom: #285f10;
$custom-light: #698d55;
$custom-dark: #000000;
JSON
{
  "hex": "#285f10",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 101.772,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43164,
    "c": 0.12289,
    "h": 138.3
  },
  "luminance": 0.08673
}

Semantic roles & 50–950 ramp

primary
#285F10
secondary
#793398
accent
#3AEEB7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285F10

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

Preview Lab → · Contrast checker → · Palette generator →

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