#284E14#284E14

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

Color values

HEX#284E14
RGBrgb(40, 78, 20)
HSLhsl(99, 59%, 19%)
HSVhsv(99, 74%, 31%)
CMYKcmyk(48.7%, 0%, 74.4%, 69.4%)
CIE-LABlab(29.29, -25.35, 28.95)
CIE-LCHlch(29.29, 38.48, 131.21°)
OKLaboklab(38.19% -0.0703 0.0662)
OKLCHoklch(38.19% 0.097 136.7)
XYZxyz(3.7256, 5.9502, 1.6139)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284E14 #3A144E
analogous
#454E14 #284E14 #144E1D
triadic
#284E14 #14284E #4E1428
tetradic
#284E14 #14454E #3A144E #4E1D14
square
#284E14 #14454E #3A144E #4E1D14
split-complementary
#284E14 #1D144E #4E1445
monochromatic
#0C1806 #0F1D08 #284E14 #417F20 #5AAF2D

Accessibility & contrast

On white

9.59
#284E14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284E14
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284E14#FFFFFF#000000##FFFFFF
##284E141.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470C
Deuteranopia (green-blind)
#4C4419
Tritanopia (blue-blind)
#264B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #284e14;
/* rgb */ color: rgb(40, 78, 20);
/* oklch */ color: oklch(38.2% 0.097 136.7);
Tailwind
colors: {
  custom: {
    50: '#668055',
    500: '#284e14',
    950: '#000000',
  },
}
SCSS
$custom: #284e14;
$custom-light: #668055;
$custom-dark: #000000;
JSON
{
  "hex": "#284e14",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 20
  },
  "hsl": {
    "h": 99.31,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3819,
    "c": 0.09653,
    "h": 136.7
  },
  "luminance": 0.0595
}

Semantic roles & 50–950 ramp

primary
#284E14
secondary
#6B3886
accent
#45E2AC
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284E14

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

Preview Lab → · Contrast checker → · Palette generator →

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