#284D10#284D10

#284D10 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.9% C 0.098 H 135.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#284D10
RGBrgb(40, 77, 16)
HSLhsl(96, 66%, 18%)
HSVhsv(96, 79%, 30%)
CMYKcmyk(48.1%, 0%, 79.2%, 69.8%)
CIE-LABlab(28.89, -25.24, 30.35)
CIE-LCHlch(28.89, 39.47, 129.75°)
OKLaboklab(37.86% -0.0703 0.0685)
OKLCHoklch(37.86% 0.098 135.8)
XYZxyz(3.6224, 5.7961, 1.4180)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D10 #35104D
analogous
#464D10 #284D10 #104D16
triadic
#284D10 #10284D #4D1028
tetradic
#284D10 #10464D #35104D #4D1610
square
#284D10 #10464D #35104D #4D1610
split-complementary
#284D10 #16104D #4D1046
monochromatic
#0D1905 #0E1A05 #284D10 #42801B #5DB225

Accessibility & contrast

On white

9.73
#284D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#284D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284D10
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D10#FFFFFF#000000##FFFFFF
##284D101.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504606
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#274A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #284d10;
/* rgb */ color: rgb(40, 77, 16);
/* oklch */ color: oklch(37.9% 0.098 135.8);
Tailwind
colors: {
  custom: {
    50: '#667f53',
    500: '#284d10',
    950: '#000000',
  },
}
SCSS
$custom: #284d10;
$custom-light: #667f53;
$custom-dark: #000000;
JSON
{
  "hex": "#284d10",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 16
  },
  "hsl": {
    "h": 96.393,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37856,
    "c": 0.09813,
    "h": 135.8
  },
  "luminance": 0.05796
}

Semantic roles & 50–950 ramp

primary
#284D10
secondary
#653287
accent
#3FE9A6
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #284D10

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

Preview Lab → · Contrast checker → · Palette generator →

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