#284B0D#284B0D

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

Color values

HEX#284B0D
RGBrgb(40, 75, 13)
HSLhsl(94, 70%, 17%)
HSVhsv(94, 83%, 29%)
CMYKcmyk(46.7%, 0%, 82.7%, 70.6%)
CIE-LABlab(28.15, -24.52, 30.85)
CIE-LCHlch(28.15, 39.41, 128.47°)
OKLaboklab(37.24% -0.0686 0.069)
OKLCHoklch(37.24% 0.097 134.8)
XYZxyz(3.4637, 5.5121, 1.2621)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B0D #300D4B
analogous
#474B0D #284B0D #0D4B11
triadic
#284B0D #0D284B #4B0D28
tetradic
#284B0D #0D474B #300D4B #4B110D
square
#284B0D #0D474B #300D4B #4B110D
split-complementary
#284B0D #110D4B #4B0D47
monochromatic
#0E1A05 #0E1A05 #284B0D #447F16 #60B31F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##284B0D#FFFFFF#000000##FFFFFF
##284B0D1.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)
#4E4403
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#27483F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #284b0d;
/* rgb */ color: rgb(40, 75, 13);
/* oklch */ color: oklch(37.2% 0.097 134.8);
Tailwind
colors: {
  custom: {
    50: '#667d51',
    500: '#284b0d',
    950: '#000000',
  },
}
SCSS
$custom: #284b0d;
$custom-light: #667d51;
$custom-dark: #000000;
JSON
{
  "hex": "#284b0d",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 13
  },
  "hsl": {
    "h": 93.871,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37238,
    "c": 0.09731,
    "h": 134.8
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

primary
#284B0D
secondary
#602E86
accent
#3BED9F
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #284B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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