#285B14#285B14

#285B14 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.115 H 138.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#285B14
RGBrgb(40, 91, 20)
HSLhsl(103, 64%, 22%)
HSVhsv(103, 78%, 36%)
CMYKcmyk(56%, 0%, 78%, 64.3%)
CIE-LABlab(33.95, -31.22, 33.77)
CIE-LCHlch(33.95, 45.99, 132.76°)
OKLaboklab(42.02% -0.0862 0.0763)
OKLCHoklch(42.02% 0.115 138.5)
XYZxyz(4.7423, 7.9834, 1.9527)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B14 #47145B
analogous
#4C5B14 #285B14 #145B24
triadic
#285B14 #14285B #5B1428
tetradic
#285B14 #144C5B #47145B #5B2414
square
#285B14 #144C5B #47145B #5B2414
split-complementary
#285B14 #24145B #5B144C
monochromatic
#0B1906 #122909 #285B14 #3E8D1F #54BF2A

Accessibility & contrast

On white

8.09
#285B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#285B14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285B14
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285B14#FFFFFF#000000##FFFFFF
##285B141.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5207
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#24584D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285b14;
/* rgb */ color: rgb(40, 91, 20);
/* oklch */ color: oklch(42.0% 0.115 138.5);
Tailwind
colors: {
  custom: {
    50: '#688a57',
    500: '#285b14',
    950: '#000000',
  },
}
SCSS
$custom: #285b14;
$custom-light: #688a57;
$custom-dark: #000000;
JSON
{
  "hex": "#285b14",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 20
  },
  "hsl": {
    "h": 103.099,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42021,
    "c": 0.11506,
    "h": 138.5
  },
  "luminance": 0.07984
}

Semantic roles & 50–950 ramp

primary
#285B14
secondary
#793893
accent
#41E7B8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #285B14

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

Preview Lab → · Contrast checker → · Palette generator →

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