#284A11#284A11

#284A11 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.0% C 0.093 H 135.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#284A11
RGBrgb(40, 74, 17)
HSLhsl(96, 63%, 18%)
HSVhsv(96, 77%, 29%)
CMYKcmyk(45.9%, 0%, 77%, 71%)
CIE-LABlab(27.82, -23.71, 28.80)
CIE-LCHlch(27.82, 37.31, 129.46°)
OKLaboklab(36.98% -0.0661 0.0654)
OKLCHoklch(36.98% 0.093 135.3)
XYZxyz(3.4249, 5.3890, 1.3899)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A11 #33114A
analogous
#444A11 #284A11 #114A16
triadic
#284A11 #11284A #4A1128
tetradic
#284A11 #11444A #33114A #4A1611
square
#284A11 #11444A #33114A #4A1611
split-complementary
#284A11 #16114A #4A1144
monochromatic
#0D1906 #0D1906 #284A11 #437C1C #5EAE28

Accessibility & contrast

On white

10.11
#284A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#284A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A11
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A11#FFFFFF#000000##FFFFFF
##284A111.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4308
Deuteranopia (green-blind)
#484116
Tritanopia (blue-blind)
#27473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #284a11;
/* rgb */ color: rgb(40, 74, 17);
/* oklch */ color: oklch(37.0% 0.093 135.3);
Tailwind
colors: {
  custom: {
    50: '#657d53',
    500: '#284a11',
    950: '#000000',
  },
}
SCSS
$custom: #284a11;
$custom-light: #657d53;
$custom-dark: #000000;
JSON
{
  "hex": "#284a11",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 17
  },
  "hsl": {
    "h": 95.789,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36976,
    "c": 0.09296,
    "h": 135.3
  },
  "luminance": 0.05389
}

Semantic roles & 50–950 ramp

primary
#284A11
secondary
#633383
accent
#42E6A4
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #284A11

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

Preview Lab → · Contrast checker → · Palette generator →

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