#284511#284511

#284511 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.5% C 0.085 H 134.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#284511
RGBrgb(40, 69, 17)
HSLhsl(93, 60%, 17%)
HSVhsv(93, 75%, 27%)
CMYKcmyk(42%, 0%, 75.4%, 72.9%)
CIE-LABlab(26.00, -21.22, 26.91)
CIE-LCHlch(26.00, 34.27, 128.27°)
OKLaboklab(35.49% -0.0593 0.0614)
OKLCHoklch(35.49% 0.085 134)
XYZxyz(3.1043, 4.7477, 1.2830)
Luminance0.0475 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284511 #2E1145
analogous
#424511 #284511 #114514
triadic
#284511 #112845 #451128
tetradic
#284511 #114245 #2E1145 #451411
square
#284511 #114245 #2E1145 #451411
split-complementary
#284511 #141145 #451142
monochromatic
#0E1906 #0E1906 #284511 #44761D #61A729

Accessibility & contrast

On white

10.77
#284511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284511
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284511#FFFFFF#000000##FFFFFF
##2845111.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0A
Deuteranopia (green-blind)
#443D15
Tritanopia (blue-blind)
#28423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #284511;
/* rgb */ color: rgb(40, 69, 17);
/* oklch */ color: oklch(35.5% 0.085 134.0);
Tailwind
colors: {
  custom: {
    50: '#657952',
    500: '#284511',
    950: '#000000',
  },
}
SCSS
$custom: #284511;
$custom-light: #657952;
$custom-dark: #000000;
JSON
{
  "hex": "#284511",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 17
  },
  "hsl": {
    "h": 93.462,
    "s": 60.465,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35494,
    "c": 0.08539,
    "h": 134
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

primary
#284511
secondary
#5D337F
accent
#44E49D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #284511

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

Preview Lab → · Contrast checker → · Palette generator →

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