#284813#284813

#284813 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.4% C 0.088 H 135.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#284813
RGBrgb(40, 72, 19)
HSLhsl(96, 58%, 18%)
HSVhsv(96, 74%, 28%)
CMYKcmyk(44.4%, 0%, 73.6%, 71.8%)
CIE-LABlab(27.11, -22.54, 27.11)
CIE-LCHlch(27.11, 35.26, 129.73°)
OKLaboklab(36.4% -0.0627 0.0622)
OKLCHoklch(36.4% 0.088 135.3)
XYZxyz(3.3099, 5.1327, 1.4323)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284813 #331348
analogous
#424813 #284813 #134818
triadic
#284813 #132848 #481328
tetradic
#284813 #134248 #331348 #481813
square
#284813 #134248 #331348 #481813
split-complementary
#284813 #181348 #481342
monochromatic
#0D1806 #0D1806 #284813 #437820 #5EA92D

Accessibility & contrast

On white

10.36
#284813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#284813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284813
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284813#FFFFFF#000000##FFFFFF
##2848131.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B420C
Deuteranopia (green-blind)
#463F17
Tritanopia (blue-blind)
#27453D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #284813;
/* rgb */ color: rgb(40, 72, 19);
/* oklch */ color: oklch(36.4% 0.088 135.3);
Tailwind
colors: {
  custom: {
    50: '#657b54',
    500: '#284813',
    950: '#000000',
  },
}
SCSS
$custom: #284813;
$custom-light: #657b54;
$custom-dark: #000000;
JSON
{
  "hex": "#284813",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 19
  },
  "hsl": {
    "h": 96.226,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36404,
    "c": 0.0883,
    "h": 135.3
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#284813
secondary
#633681
accent
#46E1A4
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060903
muted
#7A7B78

Preview Lab

Preview with #284813

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

Preview Lab → · Contrast checker → · Palette generator →

#284813 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva