#284D0D#284D0D

#284D0D is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.8% C 0.100 H 135.3°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#284D0D
RGBrgb(40, 77, 13)
HSLhsl(95, 71%, 18%)
HSVhsv(95, 83%, 30%)
CMYKcmyk(48.1%, 0%, 83.1%, 69.8%)
CIE-LABlab(28.87, -25.47, 31.56)
CIE-LCHlch(28.87, 40.55, 128.91°)
OKLaboklab(37.83% -0.0711 0.0705)
OKLCHoklch(37.83% 0.1 135.3)
XYZxyz(3.6015, 5.7877, 1.3081)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D0D #320D4D
analogous
#484D0D #284D0D #0D4D12
triadic
#284D0D #0D284D #4D0D28
tetradic
#284D0D #0D484D #320D4D #4D120D
square
#284D0D #0D484D #320D4D #4D120D
split-complementary
#284D0D #120D4D #4D0D48
monochromatic
#0E1A04 #0E1A04 #284D0D #438116 #5EB61F

Accessibility & contrast

On white

9.73
#284D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284D0D
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D0D#FFFFFF#000000##FFFFFF
##284D0D1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #284d0d;
/* rgb */ color: rgb(40, 77, 13);
/* oklch */ color: oklch(37.8% 0.100 135.3);
Tailwind
colors: {
  custom: {
    50: '#667f51',
    500: '#284d0d',
    950: '#000000',
  },
}
SCSS
$custom: #284d0d;
$custom-light: #667f51;
$custom-dark: #000000;
JSON
{
  "hex": "#284d0d",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 13
  },
  "hsl": {
    "h": 94.688,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37831,
    "c": 0.10016,
    "h": 135.3
  },
  "luminance": 0.05788
}

Semantic roles & 50–950 ramp

primary
#284D0D
secondary
#622E88
accent
#3AEEA2
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #284D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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