#284B11#284B11

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

Color values

HEX#284B11
RGBrgb(40, 75, 17)
HSLhsl(96, 63%, 18%)
HSVhsv(96, 77%, 29%)
CMYKcmyk(46.7%, 0%, 77.3%, 70.6%)
CIE-LABlab(28.18, -24.20, 29.18)
CIE-LCHlch(28.18, 37.90, 129.67°)
OKLaboklab(37.27% -0.0674 0.0662)
OKLCHoklch(37.27% 0.094 135.5)
XYZxyz(3.4922, 5.5235, 1.4123)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B11 #34114B
analogous
#454B11 #284B11 #114B17
triadic
#284B11 #11284B #4B1128
tetradic
#284B11 #11454B #34114B #4B1711
square
#284B11 #11454B #34114B #4B1711
split-complementary
#284B11 #17114B #4B1145
monochromatic
#0D1906 #0D1906 #284B11 #437D1C #5DAF28

Accessibility & contrast

On white

9.98
#284B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#284B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B11
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B11#FFFFFF#000000##FFFFFF
##284B111.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4408
Deuteranopia (green-blind)
#494116
Tritanopia (blue-blind)
#27483F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #284b11;
/* rgb */ color: rgb(40, 75, 17);
/* oklch */ color: oklch(37.3% 0.094 135.5);
Tailwind
colors: {
  custom: {
    50: '#667d53',
    500: '#284b11',
    950: '#000000',
  },
}
SCSS
$custom: #284b11;
$custom-light: #667d53;
$custom-dark: #000000;
JSON
{
  "hex": "#284b11",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 17
  },
  "hsl": {
    "h": 96.207,
    "s": 63.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37272,
    "c": 0.09445,
    "h": 135.5
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

primary
#284B11
secondary
#643384
accent
#42E6A5
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #284B11

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

Preview Lab → · Contrast checker → · Palette generator →

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