#284515#284515

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

Color values

HEX#284515
RGBrgb(40, 69, 21)
HSLhsl(96, 53%, 18%)
HSVhsv(96, 70%, 27%)
CMYKcmyk(42%, 0%, 69.6%, 72.9%)
CIE-LABlab(26.04, -20.81, 24.94)
CIE-LCHlch(26.04, 32.49, 129.84°)
OKLaboklab(35.54% -0.0578 0.0578)
OKLCHoklch(35.54% 0.082 135)
XYZxyz(3.1385, 4.7614, 1.4630)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284515 #321545
analogous
#404515 #284515 #15451A
triadic
#284515 #152845 #451528
tetradic
#284515 #154045 #321545 #451A15
square
#284515 #154045 #321545 #451A15
split-complementary
#284515 #1A1545 #451540
monochromatic
#0E1707 #0E1707 #284515 #437423 #5EA332

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##284515#FFFFFF#000000##FFFFFF
##2845151.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)
#483F0F
Deuteranopia (green-blind)
#443D19
Tritanopia (blue-blind)
#27423B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #284515;
/* rgb */ color: rgb(40, 69, 21);
/* oklch */ color: oklch(35.5% 0.082 135.0);
Tailwind
colors: {
  custom: {
    50: '#647955',
    500: '#284515',
    950: '#000000',
  },
}
SCSS
$custom: #284515;
$custom-light: #647955;
$custom-dark: #000000;
JSON
{
  "hex": "#284515",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 21
  },
  "hsl": {
    "h": 96.25,
    "s": 53.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.3554,
    "c": 0.08179,
    "h": 135
  },
  "luminance": 0.04762
}

Semantic roles & 50–950 ramp

primary
#284515
secondary
#62397D
accent
#4BDDA3
background
#F6F7F5
surface
#EBEDE8
border
#C6C8C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #284515

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

Preview Lab → · Contrast checker → · Palette generator →

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