#284A15#284A15

#284A15 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.0% C 0.090 H 136.2°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#284A15
RGBrgb(40, 74, 21)
HSLhsl(98, 56%, 19%)
HSVhsv(98, 72%, 29%)
CMYKcmyk(45.9%, 0%, 71.6%, 71%)
CIE-LABlab(27.85, -23.32, 26.93)
CIE-LCHlch(27.85, 35.62, 130.89°)
OKLaboklab(37.02% -0.0647 0.0621)
OKLCHoklch(37.02% 0.09 136.2)
XYZxyz(3.4591, 5.4026, 1.5699)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A15 #37154A
analogous
#424A15 #284A15 #154A1C
triadic
#284A15 #15284A #4A1528
tetradic
#284A15 #15424A #37154A #4A1C15
square
#284A15 #15424A #37154A #4A1C15
split-complementary
#284A15 #1C154A #4A1542
monochromatic
#0D1807 #0E1A07 #284A15 #427A23 #5CA930

Accessibility & contrast

On white

10.09
#284A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#284A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A15
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A15#FFFFFF#000000##FFFFFF
##284A151.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440E
Deuteranopia (green-blind)
#484119
Tritanopia (blue-blind)
#27473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #284a15;
/* rgb */ color: rgb(40, 74, 21);
/* oklch */ color: oklch(37.0% 0.090 136.2);
Tailwind
colors: {
  custom: {
    50: '#657d55',
    500: '#284a15',
    950: '#000000',
  },
}
SCSS
$custom: #284a15;
$custom-light: #657d55;
$custom-dark: #000000;
JSON
{
  "hex": "#284a15",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 21
  },
  "hsl": {
    "h": 98.491,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37018,
    "c": 0.08963,
    "h": 136.2
  },
  "luminance": 0.05403
}

Semantic roles & 50–950 ramp

primary
#284A15
secondary
#683982
accent
#49DFA9
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #284A15

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

Preview Lab → · Contrast checker → · Palette generator →

#284A15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva