#284513#284513

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

Color values

HEX#284513
RGBrgb(40, 69, 19)
HSLhsl(95, 57%, 17%)
HSVhsv(95, 72%, 27%)
CMYKcmyk(42%, 0%, 72.5%, 72.9%)
CIE-LABlab(26.02, -21.03, 25.94)
CIE-LCHlch(26.02, 33.39, 129.02°)
OKLaboklab(35.52% -0.0586 0.0597)
OKLCHoklch(35.52% 0.084 134.5)
XYZxyz(3.1207, 4.7542, 1.3692)
Luminance0.0475 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284513 #301345
analogous
#414513 #284513 #134517
triadic
#284513 #132845 #451328
tetradic
#284513 #134145 #301345 #451713
square
#284513 #134145 #301345 #451713
split-complementary
#284513 #171345 #451341
monochromatic
#0E1807 #0E1807 #284513 #447520 #60A52D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##284513#FFFFFF#000000##FFFFFF
##2845131.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)
#483F0D
Deuteranopia (green-blind)
#443D17
Tritanopia (blue-blind)
#28423B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #284513;
/* rgb */ color: rgb(40, 69, 19);
/* oklch */ color: oklch(35.5% 0.084 134.5);
Tailwind
colors: {
  custom: {
    50: '#657953',
    500: '#284513',
    950: '#000000',
  },
}
SCSS
$custom: #284513;
$custom-light: #657953;
$custom-dark: #000000;
JSON
{
  "hex": "#284513",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 19
  },
  "hsl": {
    "h": 94.8,
    "s": 56.818,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35516,
    "c": 0.08365,
    "h": 134.5
  },
  "luminance": 0.04754
}

Semantic roles & 50–950 ramp

primary
#284513
secondary
#60367E
accent
#48E0A0
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #284513

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

Preview Lab → · Contrast checker → · Palette generator →

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