#284713#284713

#284713 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.1% C 0.087 H 135.0°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#284713
RGBrgb(40, 71, 19)
HSLhsl(96, 58%, 18%)
HSVhsv(96, 73%, 28%)
CMYKcmyk(43.7%, 0%, 73.2%, 72.2%)
CIE-LABlab(26.75, -22.04, 26.73)
CIE-LCHlch(26.75, 34.64, 129.51°)
OKLaboklab(36.11% -0.0613 0.0613)
OKLCHoklch(36.11% 0.087 135)
XYZxyz(3.2458, 5.0044, 1.4109)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284713 #321347
analogous
#424713 #284713 #134718
triadic
#284713 #132847 #471328
tetradic
#284713 #134247 #321347 #471813
square
#284713 #134247 #321347 #471813
split-complementary
#284713 #181347 #471342
monochromatic
#0E1806 #0E1806 #284713 #437720 #5EA82D

Accessibility & contrast

On white

10.49
#284713 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#284713 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284713
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284713#FFFFFF#000000##FFFFFF
##2847131.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410C
Deuteranopia (green-blind)
#463E17
Tritanopia (blue-blind)
#27443C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #284713;
/* rgb */ color: rgb(40, 71, 19);
/* oklch */ color: oklch(36.1% 0.087 135.0);
Tailwind
colors: {
  custom: {
    50: '#657a54',
    500: '#284713',
    950: '#000000',
  },
}
SCSS
$custom: #284713;
$custom-light: #657a54;
$custom-dark: #000000;
JSON
{
  "hex": "#284713",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 19
  },
  "hsl": {
    "h": 95.769,
    "s": 57.778,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36108,
    "c": 0.08675,
    "h": 135
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#284713
secondary
#623680
accent
#47E1A3
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060903
muted
#7A7B78

Preview Lab

Preview with #284713

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

Preview Lab → · Contrast checker → · Palette generator →

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