#284D15#284D15

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

Color values

HEX#284D15
RGBrgb(40, 77, 21)
HSLhsl(100, 57%, 19%)
HSVhsv(100, 73%, 30%)
CMYKcmyk(48.1%, 0%, 72.7%, 69.8%)
CIE-LABlab(28.94, -24.78, 28.10)
CIE-LCHlch(28.94, 37.46, 131.40°)
OKLaboklab(37.91% -0.0686 0.0645)
OKLCHoklch(37.91% 0.094 136.8)
XYZxyz(3.6642, 5.8128, 1.6382)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D15 #3A154D
analogous
#444D15 #284D15 #154D1E
triadic
#284D15 #15284D #4D1528
tetradic
#284D15 #15444D #3A154D #4D1E15
square
#284D15 #15444D #3A154D #4D1E15
split-complementary
#284D15 #1E154D #4D1544
monochromatic
#0C1807 #0F1D08 #284D15 #417D22 #5AAD2F

Accessibility & contrast

On white

9.71
#284D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284D15
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D15#FFFFFF#000000##FFFFFF
##284D151.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460E
Deuteranopia (green-blind)
#4B431A
Tritanopia (blue-blind)
#264A42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #284d15;
/* rgb */ color: rgb(40, 77, 21);
/* oklch */ color: oklch(37.9% 0.094 136.8);
Tailwind
colors: {
  custom: {
    50: '#667f55',
    500: '#284d15',
    950: '#000000',
  },
}
SCSS
$custom: #284d15;
$custom-light: #667f55;
$custom-dark: #000000;
JSON
{
  "hex": "#284d15",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 21
  },
  "hsl": {
    "h": 99.643,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37905,
    "c": 0.0942,
    "h": 136.8
  },
  "luminance": 0.05813
}

Semantic roles & 50–950 ramp

primary
#284D15
secondary
#6B3985
accent
#47E0AC
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284D15

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

Preview Lab → · Contrast checker → · Palette generator →

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