#284003#284003

#284003 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.9% C 0.088 H 129.9°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#284003
RGBrgb(40, 64, 3)
HSLhsl(84, 91%, 13%)
HSVhsv(84, 95%, 25%)
CMYKcmyk(37.5%, 0%, 95.3%, 74.9%)
CIE-LABlab(24.08, -19.72, 30.95)
CIE-LCHlch(24.08, 36.70, 122.51°)
OKLaboklab(33.89% -0.0566 0.0677)
OKLCHoklch(33.89% 0.088 129.9)
XYZxyz(2.7249, 4.1244, 0.7386)
Luminance0.0412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284003 #1B0340
analogous
#403903 #284003 #094003
triadic
#284003 #032840 #400328
tetradic
#284003 #034039 #1B0340 #400309
square
#284003 #034039 #1B0340 #400309
split-complementary
#284003 #030940 #390340
monochromatic
#121D01 #121D01 #284003 #4D7A06 #71B508

Accessibility & contrast

On white

11.51
#284003 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#284003 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284003
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284003#FFFFFF#000000##FFFFFF
##2840031.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443A00
Deuteranopia (green-blind)
#403909
Tritanopia (blue-blind)
#293D35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #284003;
/* rgb */ color: rgb(40, 64, 3);
/* oklch */ color: oklch(33.9% 0.088 129.9);
Tailwind
colors: {
  custom: {
    50: '#65754a',
    500: '#284003',
    950: '#000000',
  },
}
SCSS
$custom: #284003;
$custom-light: #65754a;
$custom-dark: #000000;
JSON
{
  "hex": "#284003",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 3
  },
  "hsl": {
    "h": 83.607,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.3389,
    "c": 0.08819,
    "h": 129.9
  },
  "luminance": 0.04124
}

Semantic roles & 50–950 ramp

primary
#284003
secondary
#451D82
accent
#29FF7D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #284003

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

Preview Lab → · Contrast checker → · Palette generator →

#284003 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva