#284B16#284B16

#284B16 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.090 H 136.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#284B16
RGBrgb(40, 75, 22)
HSLhsl(100, 55%, 19%)
HSVhsv(100, 71%, 29%)
CMYKcmyk(46.7%, 0%, 70.7%, 70.6%)
CIE-LABlab(28.22, -23.71, 26.83)
CIE-LCHlch(28.22, 35.81, 131.46°)
OKLaboklab(37.33% -0.0656 0.062)
OKLCHoklch(37.33% 0.09 136.6)
XYZxyz(3.5359, 5.5410, 1.6421)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B16 #39164B
analogous
#434B16 #284B16 #164B1F
triadic
#284B16 #16284B #4B1628
tetradic
#284B16 #16434B #39164B #4B1F16
square
#284B16 #16434B #39164B #4B1F16
split-complementary
#284B16 #1F164B #4B1643
monochromatic
#0D1807 #0F1C08 #284B16 #417A24 #5AAA32

Accessibility & contrast

On white

9.96
#284B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#284B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B16
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B16#FFFFFF#000000##FFFFFF
##284B161.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440F
Deuteranopia (green-blind)
#49411A
Tritanopia (blue-blind)
#264840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #284b16;
/* rgb */ color: rgb(40, 75, 22);
/* oklch */ color: oklch(37.3% 0.090 136.6);
Tailwind
colors: {
  custom: {
    50: '#657d56',
    500: '#284b16',
    950: '#000000',
  },
}
SCSS
$custom: #284b16;
$custom-light: #657d56;
$custom-dark: #000000;
JSON
{
  "hex": "#284b16",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 22
  },
  "hsl": {
    "h": 99.623,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37325,
    "c": 0.09028,
    "h": 136.6
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#284B16
secondary
#6A3A83
accent
#4ADEAC
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284B16

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

Preview Lab → · Contrast checker → · Palette generator →

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