#284B2F#284B2F

#284B2F is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.8% C 0.063 H 149.1°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#284B2F
RGBrgb(40, 75, 47)
HSLhsl(132, 30%, 23%)
HSVhsv(132, 47%, 29%)
CMYKcmyk(46.7%, 0%, 37.3%, 70.6%)
CIE-LABlab(28.61, -19.78, 12.84)
CIE-LCHlch(28.61, 23.58, 147.01°)
OKLaboklab(37.77% -0.0539 0.0323)
OKLCHoklch(37.77% 0.063 149.1)
XYZxyz(3.9040, 5.6883, 3.5810)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B2F #4B2844
analogous
#324B28 #284B2F #284B40
triadic
#284B2F #2F284B #4B2F28
tetradic
#284B2F #28324B #4B2844 #4B4028
square
#284B2F #28324B #4B2844 #4B4028
split-complementary
#284B2F #40284B #4B2832
monochromatic
#0B140D #132316 #284B2F #3D7348 #539B61

Accessibility & contrast

On white

9.82
#284B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#284B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B2F
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B2F#FFFFFF#000000##FFFFFF
##284B2F1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C462D
Deuteranopia (green-blind)
#464231
Tritanopia (blue-blind)
#224A44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #284b2f;
/* rgb */ color: rgb(40, 75, 47);
/* oklch */ color: oklch(37.8% 0.063 149.1);
Tailwind
colors: {
  custom: {
    50: '#647d67',
    500: '#284b2f',
    950: '#000000',
  },
}
SCSS
$custom: #284b2f;
$custom-light: #647d67;
$custom-dark: #000000;
JSON
{
  "hex": "#284b2f",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 47
  },
  "hsl": {
    "h": 132,
    "s": 30.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.37769,
    "c": 0.0628,
    "h": 149.1
  },
  "luminance": 0.05689
}

Semantic roles & 50–950 ramp

primary
#284B2F
secondary
#7D5175
accent
#61B2C7
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#050906
muted
#7A7B7A

Preview Lab

Preview with #284B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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