#284B0B#284B0B

#284B0B is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.2% C 0.099 H 134.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#284B0B
RGBrgb(40, 75, 11)
HSLhsl(93, 74%, 17%)
HSVhsv(93, 85%, 29%)
CMYKcmyk(46.7%, 0%, 85.3%, 70.6%)
CIE-LABlab(28.13, -24.66, 31.61)
CIE-LCHlch(28.13, 40.09, 127.95°)
OKLaboklab(37.22% -0.0691 0.0703)
OKLCHoklch(37.22% 0.099 134.5)
XYZxyz(3.4515, 5.5072, 1.1977)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B0B #2E0B4B
analogous
#484B0B #284B0B #0B4B0E
triadic
#284B0B #0B284B #4B0B28
tetradic
#284B0B #0B484B #2E0B4B #4B0E0B
square
#284B0B #0B484B #2E0B4B #4B0E0B
split-complementary
#284B0B #0E0B4B #4B0B48
monochromatic
#0E1B04 #0E1B04 #284B0B #448013 #61B61B

Accessibility & contrast

On white

9.99
#284B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284B0B
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B0B#FFFFFF#000000##FFFFFF
##284B0B1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #284b0b;
/* rgb */ color: rgb(40, 75, 11);
/* oklch */ color: oklch(37.2% 0.099 134.5);
Tailwind
colors: {
  custom: {
    50: '#667d50',
    500: '#284b0b',
    950: '#000000',
  },
}
SCSS
$custom: #284b0b;
$custom-light: #667d50;
$custom-dark: #000000;
JSON
{
  "hex": "#284b0b",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 11
  },
  "hsl": {
    "h": 92.813,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.37223,
    "c": 0.09857,
    "h": 134.5
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

primary
#284B0B
secondary
#5D2B87
accent
#37F19D
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #284B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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