#284A13#284A13

#284A13 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.0% C 0.091 H 135.7°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#284A13
RGBrgb(40, 74, 19)
HSLhsl(97, 59%, 18%)
HSVhsv(97, 74%, 29%)
CMYKcmyk(45.9%, 0%, 74.3%, 71%)
CIE-LABlab(27.83, -23.52, 27.89)
CIE-LCHlch(27.83, 36.48, 130.15°)
OKLaboklab(37% -0.0654 0.0638)
OKLCHoklch(37% 0.091 135.7)
XYZxyz(3.4413, 5.3955, 1.4761)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A13 #35134A
analogous
#434A13 #284A13 #134A19
triadic
#284A13 #13284A #4A1328
tetradic
#284A13 #13434A #35134A #4A1913
square
#284A13 #13434A #35134A #4A1913
split-complementary
#284A13 #19134A #4A1343
monochromatic
#0D1806 #0E1906 #284A13 #427B20 #5DAB2C

Accessibility & contrast

On white

10.10
#284A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#284A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A13
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A13#FFFFFF#000000##FFFFFF
##284A131.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D430B
Deuteranopia (green-blind)
#484118
Tritanopia (blue-blind)
#27473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #284a13;
/* rgb */ color: rgb(40, 74, 19);
/* oklch */ color: oklch(37.0% 0.091 135.7);
Tailwind
colors: {
  custom: {
    50: '#657d54',
    500: '#284a13',
    950: '#000000',
  },
}
SCSS
$custom: #284a13;
$custom-light: #657d54;
$custom-dark: #000000;
JSON
{
  "hex": "#284a13",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 19
  },
  "hsl": {
    "h": 97.091,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36996,
    "c": 0.09135,
    "h": 135.7
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#284A13
secondary
#653683
accent
#45E2A6
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #284A13

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

Preview Lab → · Contrast checker → · Palette generator →

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