#284B18#284B18

#284B18 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.4% C 0.088 H 137.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#284B18
RGBrgb(40, 75, 24)
HSLhsl(101, 52%, 19%)
HSVhsv(101, 68%, 29%)
CMYKcmyk(46.7%, 0%, 68%, 70.6%)
CIE-LABlab(28.24, -23.48, 25.83)
CIE-LCHlch(28.24, 34.91, 132.27°)
OKLaboklab(37.35% -0.0649 0.0601)
OKLCHoklch(37.35% 0.088 137.2)
XYZxyz(3.5559, 5.5490, 1.7477)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B18 #3B184B
analogous
#424B18 #284B18 #184B22
triadic
#284B18 #18284B #4B1828
tetradic
#284B18 #18424B #3B184B #4B2218
square
#284B18 #18424B #3B184B #4B2218
split-complementary
#284B18 #22184B #4B1842
monochromatic
#0C1707 #0F1D09 #284B18 #417927 #59A836

Accessibility & contrast

On white

9.95
#284B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#284B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B18
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B18#FFFFFF#000000##FFFFFF
##284B181.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4512
Deuteranopia (green-blind)
#49421C
Tritanopia (blue-blind)
#264840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #284b18;
/* rgb */ color: rgb(40, 75, 24);
/* oklch */ color: oklch(37.4% 0.088 137.2);
Tailwind
colors: {
  custom: {
    50: '#657d57',
    500: '#284b18',
    950: '#000000',
  },
}
SCSS
$custom: #284b18;
$custom-light: #657d57;
$custom-dark: #000000;
JSON
{
  "hex": "#284b18",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 24
  },
  "hsl": {
    "h": 101.176,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3735,
    "c": 0.08844,
    "h": 137.2
  },
  "luminance": 0.05549
}

Semantic roles & 50–950 ramp

primary
#284B18
secondary
#6C3D82
accent
#4DDBAE
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284B18

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

Preview Lab → · Contrast checker → · Palette generator →

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