#284C11#284C11

#284C11 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.6% C 0.096 H 135.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#284C11
RGBrgb(40, 76, 17)
HSLhsl(97, 63%, 18%)
HSVhsv(97, 78%, 30%)
CMYKcmyk(47.4%, 0%, 77.6%, 70.2%)
CIE-LABlab(28.54, -24.68, 29.55)
CIE-LCHlch(28.54, 38.50, 129.87°)
OKLaboklab(37.57% -0.0687 0.067)
OKLCHoklch(37.57% 0.096 135.7)
XYZxyz(3.5606, 5.6603, 1.4351)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284C11 #35114C
analogous
#454C11 #284C11 #114C17
triadic
#284C11 #11284C #4C1128
tetradic
#284C11 #11454C #35114C #4C1711
square
#284C11 #11454C #35114C #4C1711
split-complementary
#284C11 #17114C #4C1145
monochromatic
#0D1906 #0E1A06 #284C11 #427E1C #5DB027

Accessibility & contrast

On white

9.85
#284C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284C11
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284C11#FFFFFF#000000##FFFFFF
##284C111.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4508
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#274940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #284c11;
/* rgb */ color: rgb(40, 76, 17);
/* oklch */ color: oklch(37.6% 0.096 135.7);
Tailwind
colors: {
  custom: {
    50: '#667e53',
    500: '#284c11',
    950: '#000000',
  },
}
SCSS
$custom: #284c11;
$custom-light: #667e53;
$custom-dark: #000000;
JSON
{
  "hex": "#284c11",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 17
  },
  "hsl": {
    "h": 96.61,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37569,
    "c": 0.09593,
    "h": 135.7
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#284C11
secondary
#653385
accent
#41E6A6
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #284C11

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

Preview Lab → · Contrast checker → · Palette generator →

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