#284E11#284E11

#284E11 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.2% C 0.099 H 136.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#284E11
RGBrgb(40, 78, 17)
HSLhsl(97, 64%, 19%)
HSVhsv(97, 78%, 31%)
CMYKcmyk(48.7%, 0%, 78.2%, 69.4%)
CIE-LABlab(29.26, -25.63, 30.29)
CIE-LCHlch(29.26, 39.67, 130.24°)
OKLaboklab(38.16% -0.0713 0.0685)
OKLCHoklch(38.16% 0.099 136.1)
XYZxyz(3.7005, 5.9401, 1.4818)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284E11 #37114E
analogous
#464E11 #284E11 #114E18
triadic
#284E11 #11284E #4E1128
tetradic
#284E11 #11464E #37114E #4E1811
square
#284E11 #11464E #37114E #4E1811
split-complementary
#284E11 #18114E #4E1146
monochromatic
#0D1905 #0E1C06 #284E11 #42801C #5CB227

Accessibility & contrast

On white

9.60
#284E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#284E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284E11
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284E11#FFFFFF#000000##FFFFFF
##284E111.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514707
Deuteranopia (green-blind)
#4C4417
Tritanopia (blue-blind)
#264B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #284e11;
/* rgb */ color: rgb(40, 78, 17);
/* oklch */ color: oklch(38.2% 0.099 136.1);
Tailwind
colors: {
  custom: {
    50: '#668053',
    500: '#284e11',
    950: '#000000',
  },
}
SCSS
$custom: #284e11;
$custom-light: #668053;
$custom-dark: #000000;
JSON
{
  "hex": "#284e11",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 17
  },
  "hsl": {
    "h": 97.377,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38161,
    "c": 0.09885,
    "h": 136.1
  },
  "luminance": 0.0594
}

Semantic roles & 50–950 ramp

primary
#284E11
secondary
#683387
accent
#41E7A8
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284E11

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

Preview Lab → · Contrast checker → · Palette generator →

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