#284B13#284B13

#284B13 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.093 H 135.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#284B13
RGBrgb(40, 75, 19)
HSLhsl(98, 60%, 18%)
HSVhsv(98, 75%, 29%)
CMYKcmyk(46.7%, 0%, 74.7%, 70.6%)
CIE-LABlab(28.19, -24.01, 28.27)
CIE-LCHlch(28.19, 37.09, 130.34°)
OKLaboklab(37.29% -0.0667 0.0646)
OKLCHoklch(37.29% 0.093 135.9)
XYZxyz(3.5086, 5.5301, 1.4985)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B13 #36134B
analogous
#444B13 #284B13 #134B1A
triadic
#284B13 #13284B #4B1328
tetradic
#284B13 #13444B #36134B #4B1A13
square
#284B13 #13444B #36134B #4B1A13
split-complementary
#284B13 #1A134B #4B1344
monochromatic
#0D1806 #0E1A07 #284B13 #427C1F #5CAD2C

Accessibility & contrast

On white

9.97
#284B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#284B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B13
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B13#FFFFFF#000000##FFFFFF
##284B131.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440B
Deuteranopia (green-blind)
#494118
Tritanopia (blue-blind)
#274840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #284b13;
/* rgb */ color: rgb(40, 75, 19);
/* oklch */ color: oklch(37.3% 0.093 135.9);
Tailwind
colors: {
  custom: {
    50: '#657d54',
    500: '#284b13',
    950: '#000000',
  },
}
SCSS
$custom: #284b13;
$custom-light: #657d54;
$custom-dark: #000000;
JSON
{
  "hex": "#284b13",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 19
  },
  "hsl": {
    "h": 97.5,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37292,
    "c": 0.09286,
    "h": 135.9
  },
  "luminance": 0.0553
}

Semantic roles & 50–950 ramp

primary
#284B13
secondary
#673684
accent
#45E3A8
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284B13

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

Preview Lab → · Contrast checker → · Palette generator →

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