#284C14#284C14

#284C14 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.6% C 0.094 H 136.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#284C14
RGBrgb(40, 76, 20)
HSLhsl(99, 58%, 19%)
HSVhsv(99, 74%, 30%)
CMYKcmyk(47.4%, 0%, 73.7%, 70.2%)
CIE-LABlab(28.56, -24.40, 28.19)
CIE-LCHlch(28.56, 37.28, 130.88°)
OKLaboklab(37.6% -0.0677 0.0646)
OKLCHoklch(37.6% 0.094 136.4)
XYZxyz(3.5857, 5.6703, 1.5672)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284C14 #38144C
analogous
#444C14 #284C14 #144C1C
triadic
#284C14 #14284C #4C1428
tetradic
#284C14 #14444C #38144C #4C1C14
square
#284C14 #14444C #38144C #4C1C14
split-complementary
#284C14 #1C144C #4C1444
monochromatic
#0D1806 #0F1C07 #284C14 #427C21 #5BAD2E

Accessibility & contrast

On white

9.84
#284C14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#284C14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284C14
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284C14#FFFFFF#000000##FFFFFF
##284C141.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450C
Deuteranopia (green-blind)
#4A4219
Tritanopia (blue-blind)
#274941
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #284c14;
/* rgb */ color: rgb(40, 76, 20);
/* oklch */ color: oklch(37.6% 0.094 136.4);
Tailwind
colors: {
  custom: {
    50: '#667e55',
    500: '#284c14',
    950: '#000000',
  },
}
SCSS
$custom: #284c14;
$custom-light: #667e55;
$custom-dark: #000000;
JSON
{
  "hex": "#284c14",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 20
  },
  "hsl": {
    "h": 98.571,
    "s": 58.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37599,
    "c": 0.09353,
    "h": 136.4
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#284C14
secondary
#693884
accent
#46E2AA
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284C14

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

Preview Lab → · Contrast checker → · Palette generator →

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