#284603#284603

#284603 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.7% C 0.097 H 132.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#284603
RGBrgb(40, 70, 3)
HSLhsl(87, 92%, 14%)
HSVhsv(87, 96%, 27%)
CMYKcmyk(42.9%, 0%, 95.7%, 72.5%)
CIE-LABlab(26.27, -22.75, 33.02)
CIE-LCHlch(26.27, 40.10, 124.57°)
OKLaboklab(35.68% -0.0647 0.0716)
OKLCHoklch(35.68% 0.097 132.1)
XYZxyz(3.0816, 4.8379, 0.8576)
Luminance0.0484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284603 #210346
analogous
#464303 #284603 #064603
triadic
#284603 #032846 #460328
tetradic
#284603 #034643 #210346 #460306
square
#284603 #034643 #210346 #460306
split-complementary
#284603 #030646 #430346
monochromatic
#111D01 #111D01 #284603 #4A8106 #6BBB08

Accessibility & contrast

On white

10.67
#284603 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#284603 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284603
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284603#FFFFFF#000000##FFFFFF
##2846031.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494000
Deuteranopia (green-blind)
#453D0B
Tritanopia (blue-blind)
#29433A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #284603;
/* rgb */ color: rgb(40, 70, 3);
/* oklch */ color: oklch(35.7% 0.097 132.1);
Tailwind
colors: {
  custom: {
    50: '#66794b',
    500: '#284603',
    950: '#000000',
  },
}
SCSS
$custom: #284603;
$custom-light: #66794b;
$custom-dark: #000000;
JSON
{
  "hex": "#284603",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 3
  },
  "hsl": {
    "h": 86.866,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.35679,
    "c": 0.0965,
    "h": 132.1
  },
  "luminance": 0.04838
}

Semantic roles & 50–950 ramp

primary
#284603
secondary
#4D1D87
accent
#29FF89
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #284603

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

Preview Lab → · Contrast checker → · Palette generator →

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