#284C10#284C10

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

Color values

HEX#284C10
RGBrgb(40, 76, 16)
HSLhsl(96, 65%, 18%)
HSVhsv(96, 79%, 30%)
CMYKcmyk(47.4%, 0%, 78.9%, 70.2%)
CIE-LABlab(28.53, -24.76, 29.98)
CIE-LCHlch(28.53, 38.88, 129.55°)
OKLaboklab(37.56% -0.069 0.0677)
OKLCHoklch(37.56% 0.097 135.5)
XYZxyz(3.5530, 5.6572, 1.3948)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284C10 #34104C
analogous
#464C10 #284C10 #104C16
triadic
#284C10 #10284C #4C1028
tetradic
#284C10 #10464C #34104C #4C1610
square
#284C10 #10464C #34104C #4C1610
split-complementary
#284C10 #16104C #4C1046
monochromatic
#0D1905 #0D1905 #284C10 #437F1B #5DB125

Accessibility & contrast

On white

9.85
#284C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284C10
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284C10#FFFFFF#000000##FFFFFF
##284C101.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4506
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#274940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #284c10;
/* rgb */ color: rgb(40, 76, 16);
/* oklch */ color: oklch(37.6% 0.097 135.5);
Tailwind
colors: {
  custom: {
    50: '#667e52',
    500: '#284c10',
    950: '#000000',
  },
}
SCSS
$custom: #284c10;
$custom-light: #667e52;
$custom-dark: #000000;
JSON
{
  "hex": "#284c10",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 16
  },
  "hsl": {
    "h": 96,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37559,
    "c": 0.09667,
    "h": 135.5
  },
  "luminance": 0.05657
}

Semantic roles & 50–950 ramp

primary
#284C10
secondary
#643286
accent
#40E8A5
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #284C10

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

Preview Lab → · Contrast checker → · Palette generator →

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