#284D11#284D11

#284D11 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.9% C 0.097 H 135.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#284D11
RGBrgb(40, 77, 17)
HSLhsl(97, 64%, 18%)
HSVhsv(97, 78%, 30%)
CMYKcmyk(48.1%, 0%, 77.9%, 69.8%)
CIE-LABlab(28.90, -25.15, 29.92)
CIE-LCHlch(28.90, 39.09, 130.06°)
OKLaboklab(37.87% -0.07 0.0677)
OKLCHoklch(37.87% 0.097 135.9)
XYZxyz(3.6300, 5.7991, 1.4583)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D11 #36114D
analogous
#464D11 #284D11 #114D18
triadic
#284D11 #11284D #4D1128
tetradic
#284D11 #11464D #36114D #4D1811
square
#284D11 #11464D #36114D #4D1811
split-complementary
#284D11 #18114D #4D1146
monochromatic
#0D1906 #0E1B06 #284D11 #427F1C #5CB127

Accessibility & contrast

On white

9.72
#284D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#284D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284D11
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D11#FFFFFF#000000##FFFFFF
##284D111.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504607
Deuteranopia (green-blind)
#4B4317
Tritanopia (blue-blind)
#274A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #284d11;
/* rgb */ color: rgb(40, 77, 17);
/* oklch */ color: oklch(37.9% 0.097 135.9);
Tailwind
colors: {
  custom: {
    50: '#667f53',
    500: '#284d11',
    950: '#000000',
  },
}
SCSS
$custom: #284d11;
$custom-light: #667f53;
$custom-dark: #000000;
JSON
{
  "hex": "#284d11",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 17
  },
  "hsl": {
    "h": 97,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37865,
    "c": 0.09739,
    "h": 135.9
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#284D11
secondary
#673386
accent
#41E7A7
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284D11

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

Preview Lab → · Contrast checker → · Palette generator →

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