#284D13#284D13

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

Color values

HEX#284D13
RGBrgb(40, 77, 19)
HSLhsl(98, 60%, 19%)
HSVhsv(98, 75%, 30%)
CMYKcmyk(48.1%, 0%, 75.3%, 69.8%)
CIE-LABlab(28.92, -24.97, 29.03)
CIE-LCHlch(28.92, 38.29, 130.70°)
OKLaboklab(37.88% -0.0693 0.0662)
OKLCHoklch(37.88% 0.096 136.3)
XYZxyz(3.6464, 5.8057, 1.5444)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D13 #38134D
analogous
#454D13 #284D13 #134D1B
triadic
#284D13 #13284D #4D1328
tetradic
#284D13 #13454D #38134D #4D1B13
square
#284D13 #13454D #38134D #4D1B13
split-complementary
#284D13 #1B134D #4D1345
monochromatic
#0D1906 #0F1C07 #284D13 #427E1F #5BAF2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##284D13#FFFFFF#000000##FFFFFF
##284D131.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)
#50460B
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#264A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #284d13;
/* rgb */ color: rgb(40, 77, 19);
/* oklch */ color: oklch(37.9% 0.096 136.3);
Tailwind
colors: {
  custom: {
    50: '#667f54',
    500: '#284d13',
    950: '#000000',
  },
}
SCSS
$custom: #284d13;
$custom-light: #667f54;
$custom-dark: #000000;
JSON
{
  "hex": "#284d13",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 19
  },
  "hsl": {
    "h": 98.276,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37884,
    "c": 0.09585,
    "h": 136.3
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#284D13
secondary
#693686
accent
#44E4AA
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284D13

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

Preview Lab → · Contrast checker → · Palette generator →

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