#284C13#284C13

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

Color values

HEX#284C13
RGBrgb(40, 76, 19)
HSLhsl(98, 60%, 19%)
HSVhsv(98, 75%, 30%)
CMYKcmyk(47.4%, 0%, 75%, 70.2%)
CIE-LABlab(28.56, -24.49, 28.65)
CIE-LCHlch(28.56, 37.69, 130.53°)
OKLaboklab(37.59% -0.068 0.0654)
OKLCHoklch(37.59% 0.094 136.1)
XYZxyz(3.5770, 5.6668, 1.5213)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284C13 #37134C
analogous
#444C13 #284C13 #134C1A
triadic
#284C13 #13284C #4C1328
tetradic
#284C13 #13444C #37134C #4C1A13
square
#284C13 #13444C #37134C #4C1A13
split-complementary
#284C13 #1A134C #4C1344
monochromatic
#0D1806 #0E1B07 #284C13 #427D1F #5CAE2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##284C13#FFFFFF#000000##FFFFFF
##284C131.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)
#4F450B
Deuteranopia (green-blind)
#4A4218
Tritanopia (blue-blind)
#274940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #284c13;
/* rgb */ color: rgb(40, 76, 19);
/* oklch */ color: oklch(37.6% 0.094 136.1);
Tailwind
colors: {
  custom: {
    50: '#667e54',
    500: '#284c13',
    950: '#000000',
  },
}
SCSS
$custom: #284c13;
$custom-light: #667e54;
$custom-dark: #000000;
JSON
{
  "hex": "#284c13",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 19
  },
  "hsl": {
    "h": 97.895,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37588,
    "c": 0.09436,
    "h": 136.1
  },
  "luminance": 0.05667
}

Semantic roles & 50–950 ramp

primary
#284C13
secondary
#683685
accent
#45E3A9
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284C13

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

Preview Lab → · Contrast checker → · Palette generator →

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