#284F2E#284F2E

#284F2E is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.9% C 0.071 H 147.6°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#284F2E
RGBrgb(40, 79, 46)
HSLhsl(129, 33%, 23%)
HSVhsv(129, 49%, 31%)
CMYKcmyk(49.4%, 0%, 41.8%, 69%)
CIE-LABlab(30.01, -22.06, 15.32)
CIE-LCHlch(30.01, 26.86, 145.22°)
OKLaboklab(38.9% -0.06 0.0381)
OKLCHoklch(38.9% 0.071 147.6)
XYZxyz(4.1640, 6.2401, 3.5693)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F2E #4F2849
analogous
#354F28 #284F2E #284F41
triadic
#284F2E #2E284F #4F2E28
tetradic
#284F2E #28354F #4F2849 #4F4128
square
#284F2E #28354F #4F2849 #4F4128
split-complementary
#284F2E #41284F #4F2835
monochromatic
#0A140C #132616 #284F2E #3D7846 #51A05D

Accessibility & contrast

On white

9.34
#284F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#284F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F2E
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F2E#FFFFFF#000000##FFFFFF
##284F2E1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492C
Deuteranopia (green-blind)
#4A4530
Tritanopia (blue-blind)
#224D47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #284f2e;
/* rgb */ color: rgb(40, 79, 46);
/* oklch */ color: oklch(38.9% 0.071 147.6);
Tailwind
colors: {
  custom: {
    50: '#658067',
    500: '#284f2e',
    950: '#000000',
  },
}
SCSS
$custom: #284f2e;
$custom-light: #658067;
$custom-dark: #000000;
JSON
{
  "hex": "#284f2e",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 46
  },
  "hsl": {
    "h": 129.231,
    "s": 32.773,
    "l": 23.333
  },
  "oklch": {
    "l": 0.389,
    "c": 0.07107,
    "h": 147.6
  },
  "luminance": 0.0624
}

Semantic roles & 50–950 ramp

primary
#284F2E
secondary
#82517A
accent
#5FB9C9
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #284F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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