#284F15#284F15

#284F15 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.5% C 0.097 H 137.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#284F15
RGBrgb(40, 79, 21)
HSLhsl(100, 58%, 20%)
HSVhsv(100, 73%, 31%)
CMYKcmyk(49.4%, 0%, 73.4%, 69%)
CIE-LABlab(29.66, -25.73, 28.87)
CIE-LCHlch(29.66, 38.67, 131.71°)
OKLaboklab(38.5% -0.0712 0.0662)
OKLCHoklch(38.5% 0.097 137.1)
XYZxyz(3.8063, 6.0970, 1.6856)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F15 #3C154F
analogous
#454F15 #284F15 #154F1F
triadic
#284F15 #15284F #4F1528
tetradic
#284F15 #15454F #3C154F #4F1F15
square
#284F15 #15454F #3C154F #4F1F15
split-complementary
#284F15 #1F154F #4F1545
monochromatic
#0C1806 #101F08 #284F15 #407F22 #59B02F

Accessibility & contrast

On white

9.46
#284F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#284F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F15
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F15#FFFFFF#000000##FFFFFF
##284F151.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480D
Deuteranopia (green-blind)
#4D451A
Tritanopia (blue-blind)
#264C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #284f15;
/* rgb */ color: rgb(40, 79, 21);
/* oklch */ color: oklch(38.5% 0.097 137.1);
Tailwind
colors: {
  custom: {
    50: '#668156',
    500: '#284f15',
    950: '#000000',
  },
}
SCSS
$custom: #284f15;
$custom-light: #668156;
$custom-dark: #000000;
JSON
{
  "hex": "#284f15",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 21
  },
  "hsl": {
    "h": 100.345,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38496,
    "c": 0.09719,
    "h": 137.1
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#284F15
secondary
#6D3987
accent
#47E1AF
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284F15

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

Preview Lab → · Contrast checker → · Palette generator →

#284F15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva