#285F14#285F14

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

Color values

HEX#285F14
RGBrgb(40, 95, 20)
HSLhsl(104, 65%, 23%)
HSVhsv(104, 79%, 37%)
CMYKcmyk(57.9%, 0%, 78.9%, 62.7%)
CIE-LABlab(35.37, -32.92, 35.20)
CIE-LCHlch(35.37, 48.19, 133.09°)
OKLaboklab(43.19% -0.0907 0.0792)
OKLCHoklch(43.19% 0.12 138.9)
XYZxyz(5.0934, 8.6856, 2.0698)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F14 #4B145F
analogous
#4D5F14 #285F14 #145F26
triadic
#285F14 #14285F #5F1428
tetradic
#285F14 #144D5F #4B145F #5F2614
square
#285F14 #144D5F #4B145F #5F2614
split-complementary
#285F14 #26145F #5F144D
monochromatic
#0B1905 #132C09 #285F14 #3D921F #53C429

Accessibility & contrast

On white

7.67
#285F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#285F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285F14
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F14#FFFFFF#000000##FFFFFF
##285F141.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625606
Deuteranopia (green-blind)
#5B511C
Tritanopia (blue-blind)
#235C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285f14;
/* rgb */ color: rgb(40, 95, 20);
/* oklch */ color: oklch(43.2% 0.120 138.9);
Tailwind
colors: {
  custom: {
    50: '#698d57',
    500: '#285f14',
    950: '#000000',
  },
}
SCSS
$custom: #285f14;
$custom-light: #698d57;
$custom-dark: #000000;
JSON
{
  "hex": "#285f14",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 20
  },
  "hsl": {
    "h": 104,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43194,
    "c": 0.12048,
    "h": 138.9
  },
  "luminance": 0.08686
}

Semantic roles & 50–950 ramp

primary
#285F14
secondary
#7D3897
accent
#40E8BB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285F14

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

Preview Lab → · Contrast checker → · Palette generator →

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