#284F16#284F16

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

Color values

HEX#284F16
RGBrgb(40, 79, 22)
HSLhsl(101, 56%, 20%)
HSVhsv(101, 72%, 31%)
CMYKcmyk(49.4%, 0%, 72.2%, 69%)
CIE-LABlab(29.67, -25.63, 28.40)
CIE-LCHlch(29.67, 38.25, 132.06°)
OKLaboklab(38.51% -0.0709 0.0653)
OKLCHoklch(38.51% 0.096 137.3)
XYZxyz(3.8158, 6.1008, 1.7354)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F16 #3D164F
analogous
#454F16 #284F16 #164F21
triadic
#284F16 #16284F #4F1628
tetradic
#284F16 #16454F #3D164F #4F2116
square
#284F16 #16454F #3D164F #4F2116
split-complementary
#284F16 #21164F #4F1645
monochromatic
#0C1807 #101F09 #284F16 #407F23 #58AF31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##284F16#FFFFFF#000000##FFFFFF
##284F161.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)
#52480F
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#264C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #284f16;
/* rgb */ color: rgb(40, 79, 22);
/* oklch */ color: oklch(38.5% 0.096 137.3);
Tailwind
colors: {
  custom: {
    50: '#668156',
    500: '#284f16',
    950: '#000000',
  },
}
SCSS
$custom: #284f16;
$custom-light: #668156;
$custom-dark: #000000;
JSON
{
  "hex": "#284f16",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 22
  },
  "hsl": {
    "h": 101.053,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38506,
    "c": 0.09636,
    "h": 137.3
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

primary
#284F16
secondary
#6E3A86
accent
#48E0B0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284F16

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

Preview Lab → · Contrast checker → · Palette generator →

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