#284514#284514

#284514 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.5% C 0.083 H 134.7°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#284514
RGBrgb(40, 69, 20)
HSLhsl(96, 55%, 17%)
HSVhsv(96, 71%, 27%)
CMYKcmyk(42%, 0%, 71%, 72.9%)
CIE-LABlab(26.03, -20.92, 25.45)
CIE-LCHlch(26.03, 32.94, 129.43°)
OKLaboklab(35.53% -0.0582 0.0588)
OKLCHoklch(35.53% 0.083 134.7)
XYZxyz(3.1294, 4.7577, 1.4151)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284514 #311445
analogous
#414514 #284514 #144518
triadic
#284514 #142845 #451428
tetradic
#284514 #144145 #311445 #451814
square
#284514 #144145 #311445 #451814
split-complementary
#284514 #181445 #451441
monochromatic
#0E1807 #0E1807 #284514 #447422 #5FA430

Accessibility & contrast

On white

10.76
#284514 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#284514 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284514
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284514#FFFFFF#000000##FFFFFF
##2845141.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0E
Deuteranopia (green-blind)
#443D18
Tritanopia (blue-blind)
#28423B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #284514;
/* rgb */ color: rgb(40, 69, 20);
/* oklch */ color: oklch(35.5% 0.083 134.7);
Tailwind
colors: {
  custom: {
    50: '#647954',
    500: '#284514',
    950: '#000000',
  },
}
SCSS
$custom: #284514;
$custom-light: #647954;
$custom-dark: #000000;
JSON
{
  "hex": "#284514",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 20
  },
  "hsl": {
    "h": 95.51,
    "s": 55.056,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35528,
    "c": 0.08273,
    "h": 134.7
  },
  "luminance": 0.04758
}

Semantic roles & 50–950 ramp

primary
#284514
secondary
#61387D
accent
#49DEA2
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060903
muted
#7A7B78

Preview Lab

Preview with #284514

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

Preview Lab → · Contrast checker → · Palette generator →

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