#284417#284417

#284417 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.3% C 0.078 H 135.3°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#284417
RGBrgb(40, 68, 23)
HSLhsl(97, 49%, 18%)
HSVhsv(97, 66%, 27%)
CMYKcmyk(41.2%, 0%, 66.2%, 73.3%)
CIE-LABlab(25.70, -20.07, 23.49)
CIE-LCHlch(25.70, 30.90, 130.50°)
OKLaboklab(35.27% -0.0556 0.055)
OKLCHoklch(35.27% 0.078 135.3)
XYZxyz(3.0968, 4.6471, 1.5443)
Luminance0.0465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284417 #331744
analogous
#3E4417 #284417 #17441C
triadic
#284417 #172844 #441728
tetradic
#284417 #173E44 #331744 #441C17
square
#284417 #173E44 #331744 #441C17
split-complementary
#284417 #1C1744 #44173E
monochromatic
#0D1708 #0D1708 #284417 #437226 #5E9F36

Accessibility & contrast

On white

10.88
#284417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#284417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284417
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284417#FFFFFF#000000##FFFFFF
##2844171.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E12
Deuteranopia (green-blind)
#433C1A
Tritanopia (blue-blind)
#27413A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #284417;
/* rgb */ color: rgb(40, 68, 23);
/* oklch */ color: oklch(35.3% 0.078 135.3);
Tailwind
colors: {
  custom: {
    50: '#647856',
    500: '#284417',
    950: '#000000',
  },
}
SCSS
$custom: #284417;
$custom-light: #647856;
$custom-dark: #000000;
JSON
{
  "hex": "#284417",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 23
  },
  "hsl": {
    "h": 97.333,
    "s": 49.451,
    "l": 17.843
  },
  "oklch": {
    "l": 0.35271,
    "c": 0.07821,
    "h": 135.3
  },
  "luminance": 0.04647
}

Semantic roles & 50–950 ramp

primary
#284417
secondary
#633C7B
accent
#4FD9A5
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050903
muted
#7A7B78

Preview Lab

Preview with #284417

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

Preview Lab → · Contrast checker → · Palette generator →

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