#284F19#284F19

#284F19 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.5% C 0.094 H 138.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#284F19
RGBrgb(40, 79, 25)
HSLhsl(103, 52%, 20%)
HSVhsv(103, 68%, 31%)
CMYKcmyk(49.4%, 0%, 68.4%, 69%)
CIE-LABlab(29.70, -25.30, 26.94)
CIE-LCHlch(29.70, 36.96, 133.20°)
OKLaboklab(38.54% -0.0697 0.0626)
OKLCHoklch(38.54% 0.094 138.1)
XYZxyz(3.8464, 6.1130, 1.8968)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F19 #40194F
analogous
#434F19 #284F19 #194F25
triadic
#284F19 #19284F #4F1928
tetradic
#284F19 #19434F #40194F #4F2519
square
#284F19 #19434F #40194F #4F2519
split-complementary
#284F19 #25194F #4F1943
monochromatic
#0C1707 #10210A #284F19 #407D28 #57AC36

Accessibility & contrast

On white

9.45
#284F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#284F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F19
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F19#FFFFFF#000000##FFFFFF
##284F191.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524813
Deuteranopia (green-blind)
#4C451D
Tritanopia (blue-blind)
#254C44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #284f19;
/* rgb */ color: rgb(40, 79, 25);
/* oklch */ color: oklch(38.5% 0.094 138.1);
Tailwind
colors: {
  custom: {
    50: '#668158',
    500: '#284f19',
    950: '#000000',
  },
}
SCSS
$custom: #284f19;
$custom-light: #668158;
$custom-dark: #000000;
JSON
{
  "hex": "#284f19",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 25
  },
  "hsl": {
    "h": 103.333,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38541,
    "c": 0.09371,
    "h": 138.1
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#284F19
secondary
#723E85
accent
#4CDBB4
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284F19

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

Preview Lab → · Contrast checker → · Palette generator →

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