#284517#284517

#284517 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.6% C 0.080 H 135.6°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#284517
RGBrgb(40, 69, 23)
HSLhsl(98, 50%, 18%)
HSVhsv(98, 67%, 27%)
CMYKcmyk(42%, 0%, 66.7%, 72.9%)
CIE-LABlab(26.07, -20.58, 23.91)
CIE-LCHlch(26.07, 31.55, 130.73°)
OKLaboklab(35.57% -0.057 0.0559)
OKLCHoklch(35.57% 0.08 135.6)
XYZxyz(3.1578, 4.7691, 1.5646)
Luminance0.0477 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284517 #341745
analogous
#3F4517 #284517 #17451D
triadic
#284517 #172845 #451728
tetradic
#284517 #173F45 #341745 #451D17
square
#284517 #173F45 #341745 #451D17
split-complementary
#284517 #1D1745 #45173F
monochromatic
#0D1708 #0D1708 #284517 #437326 #5DA136

Accessibility & contrast

On white

10.75
#284517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284517
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284517#FFFFFF#000000##FFFFFF
##2845171.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F12
Deuteranopia (green-blind)
#443D1A
Tritanopia (blue-blind)
#27423B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #284517;
/* rgb */ color: rgb(40, 69, 23);
/* oklch */ color: oklch(35.6% 0.080 135.6);
Tailwind
colors: {
  custom: {
    50: '#647956',
    500: '#284517',
    950: '#000000',
  },
}
SCSS
$custom: #284517;
$custom-light: #647956;
$custom-dark: #000000;
JSON
{
  "hex": "#284517",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 23
  },
  "hsl": {
    "h": 97.826,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.35566,
    "c": 0.07984,
    "h": 135.6
  },
  "luminance": 0.04769
}

Semantic roles & 50–950 ramp

primary
#284517
secondary
#643C7C
accent
#4EDAA6
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #284517

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

Preview Lab → · Contrast checker → · Palette generator →

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