#284B29#284B29

#284B29 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.6% C 0.070 H 144.6°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#284B29
RGBrgb(40, 75, 41)
HSLhsl(122, 30%, 23%)
HSVhsv(122, 47%, 29%)
CMYKcmyk(46.7%, 0%, 45.3%, 70.6%)
CIE-LABlab(28.49, -20.95, 16.39)
CIE-LCHlch(28.49, 26.60, 141.95°)
OKLaboklab(37.63% -0.057 0.0405)
OKLCHoklch(37.63% 0.07 144.6)
XYZxyz(3.7912, 5.6431, 2.9869)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B29 #4B284A
analogous
#394B28 #284B29 #284B3A
triadic
#284B29 #29284B #4B2928
tetradic
#284B29 #28394B #4B284A #4B3A28
square
#284B29 #28394B #4B284A #4B3A28
split-complementary
#284B29 #3A284B #4B2839
monochromatic
#0B140B #132313 #284B29 #3D733F #539B55

Accessibility & contrast

On white

9.87
#284B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284B29
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B29#FFFFFF#000000##FFFFFF
##284B291.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4527
Deuteranopia (green-blind)
#47422B
Tritanopia (blue-blind)
#244943
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #284b29;
/* rgb */ color: rgb(40, 75, 41);
/* oklch */ color: oklch(37.6% 0.070 144.6);
Tailwind
colors: {
  custom: {
    50: '#647d63',
    500: '#284b29',
    950: '#000000',
  },
}
SCSS
$custom: #284b29;
$custom-light: #647d63;
$custom-dark: #000000;
JSON
{
  "hex": "#284b29",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 41
  },
  "hsl": {
    "h": 121.714,
    "s": 30.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.37633,
    "c": 0.06991,
    "h": 144.6
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#284B29
secondary
#7D517C
accent
#61C4C7
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#050905
muted
#7A7B79

Preview Lab

Preview with #284B29

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

Preview Lab → · Contrast checker → · Palette generator →

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