#284B2B#284B2B

#284B2B is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.7% C 0.068 H 146.0°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#284B2B
RGBrgb(40, 75, 43)
HSLhsl(125, 30%, 23%)
HSVhsv(125, 47%, 29%)
CMYKcmyk(46.7%, 0%, 42.7%, 70.6%)
CIE-LABlab(28.53, -20.57, 15.22)
CIE-LCHlch(28.53, 25.59, 143.51°)
OKLaboklab(37.68% -0.056 0.0378)
OKLCHoklch(37.68% 0.068 146)
XYZxyz(3.8270, 5.6574, 3.1754)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B2B #4B2848
analogous
#364B28 #284B2B #284B3D
triadic
#284B2B #2B284B #4B2B28
tetradic
#284B2B #28364B #4B2848 #4B3D28
square
#284B2B #28364B #4B2848 #4B3D28
split-complementary
#284B2B #3D284B #4B2836
monochromatic
#0B140B #132314 #284B2B #3D7342 #539B59

Accessibility & contrast

On white

9.85
#284B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#284B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B2B
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B2B#FFFFFF#000000##FFFFFF
##284B2B1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4529
Deuteranopia (green-blind)
#47422D
Tritanopia (blue-blind)
#234943
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #284b2b;
/* rgb */ color: rgb(40, 75, 43);
/* oklch */ color: oklch(37.7% 0.068 146.0);
Tailwind
colors: {
  custom: {
    50: '#647d64',
    500: '#284b2b',
    950: '#000000',
  },
}
SCSS
$custom: #284b2b;
$custom-light: #647d64;
$custom-dark: #000000;
JSON
{
  "hex": "#284b2b",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 43
  },
  "hsl": {
    "h": 125.143,
    "s": 30.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.37676,
    "c": 0.06754,
    "h": 146
  },
  "luminance": 0.05658
}

Semantic roles & 50–950 ramp

primary
#284B2B
secondary
#7D517A
accent
#61BEC7
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#050905
muted
#7A7B7A

Preview Lab

Preview with #284B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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