#284D0B#284D0B

#284D0B is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.8% C 0.101 H 135.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#284D0B
RGBrgb(40, 77, 11)
HSLhsl(94, 75%, 17%)
HSVhsv(94, 86%, 30%)
CMYKcmyk(48.1%, 0%, 85.7%, 69.8%)
CIE-LABlab(28.86, -25.60, 32.30)
CIE-LCHlch(28.86, 41.22, 128.40°)
OKLaboklab(37.82% -0.0717 0.0717)
OKLCHoklch(37.82% 0.101 135)
XYZxyz(3.5893, 5.7828, 1.2436)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D0B #300B4D
analogous
#494D0B #284D0B #0B4D0F
triadic
#284D0B #0B284D #4D0B28
tetradic
#284D0B #0B494D #300B4D #4D0F0B
square
#284D0B #0B494D #300B4D #4D0F0B
split-complementary
#284D0B #0F0B4D #4D0B49
monochromatic
#0E1B04 #0E1B04 #284D0B #448313 #60B81A

Accessibility & contrast

On white

9.74
#284D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284D0B
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D0B#FFFFFF#000000##FFFFFF
##284D0B1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #284d0b;
/* rgb */ color: rgb(40, 77, 11);
/* oklch */ color: oklch(37.8% 0.101 135.0);
Tailwind
colors: {
  custom: {
    50: '#667f50',
    500: '#284d0b',
    950: '#000000',
  },
}
SCSS
$custom: #284d0b;
$custom-light: #667f50;
$custom-dark: #000000;
JSON
{
  "hex": "#284d0b",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 11
  },
  "hsl": {
    "h": 93.636,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37817,
    "c": 0.10138,
    "h": 135
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#284D0B
secondary
#602B89
accent
#36F29F
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #284D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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