#284D14#284D14

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

Color values

HEX#284D14
RGBrgb(40, 77, 20)
HSLhsl(99, 59%, 19%)
HSVhsv(99, 74%, 30%)
CMYKcmyk(48.1%, 0%, 74%, 69.8%)
CIE-LABlab(28.93, -24.88, 28.57)
CIE-LCHlch(28.93, 37.88, 131.05°)
OKLaboklab(37.89% -0.069 0.0654)
OKLCHoklch(37.89% 0.095 136.5)
XYZxyz(3.6551, 5.8092, 1.5904)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D14 #39144D
analogous
#454D14 #284D14 #144D1D
triadic
#284D14 #14284D #4D1428
tetradic
#284D14 #14454D #39144D #4D1D14
square
#284D14 #14454D #39144D #4D1D14
split-complementary
#284D14 #1D144D #4D1445
monochromatic
#0D1806 #0F1C07 #284D14 #417E21 #5AAE2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##284D14#FFFFFF#000000##FFFFFF
##284D141.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)
#50460C
Deuteranopia (green-blind)
#4B4319
Tritanopia (blue-blind)
#264A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #284d14;
/* rgb */ color: rgb(40, 77, 20);
/* oklch */ color: oklch(37.9% 0.095 136.5);
Tailwind
colors: {
  custom: {
    50: '#667f55',
    500: '#284d14',
    950: '#000000',
  },
}
SCSS
$custom: #284d14;
$custom-light: #667f55;
$custom-dark: #000000;
JSON
{
  "hex": "#284d14",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 20
  },
  "hsl": {
    "h": 98.947,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37894,
    "c": 0.09504,
    "h": 136.5
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#284D14
secondary
#6A3885
accent
#46E2AB
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284D14

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

Preview Lab → · Contrast checker → · Palette generator →

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