#284703#284703

#284703 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.0% C 0.098 H 132.4°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#284703
RGBrgb(40, 71, 3)
HSLhsl(87, 92%, 15%)
HSVhsv(87, 96%, 28%)
CMYKcmyk(43.7%, 0%, 95.8%, 72.2%)
CIE-LABlab(26.63, -23.24, 33.35)
CIE-LCHlch(26.63, 40.65, 124.87°)
OKLaboklab(35.98% -0.066 0.0723)
OKLCHoklch(35.98% 0.098 132.4)
XYZxyz(3.1447, 4.9640, 0.8786)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284703 #220347
analogous
#474403 #284703 #064703
triadic
#284703 #032847 #470328
tetradic
#284703 #034744 #220347 #470306
square
#284703 #034744 #220347 #470306
split-complementary
#284703 #030647 #440347
monochromatic
#111D01 #111D01 #284703 #498205 #6ABC08

Accessibility & contrast

On white

10.54
#284703 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#284703 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284703
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284703#FFFFFF#000000##FFFFFF
##2847031.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4100
Deuteranopia (green-blind)
#463E0B
Tritanopia (blue-blind)
#28443B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #284703;
/* rgb */ color: rgb(40, 71, 3);
/* oklch */ color: oklch(36.0% 0.098 132.4);
Tailwind
colors: {
  custom: {
    50: '#667a4b',
    500: '#284703',
    950: '#000000',
  },
}
SCSS
$custom: #284703;
$custom-light: #667a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#284703",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 3
  },
  "hsl": {
    "h": 87.353,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.35977,
    "c": 0.09786,
    "h": 132.4
  },
  "luminance": 0.04964
}

Semantic roles & 50–950 ramp

primary
#284703
secondary
#4E1E88
accent
#29FF8A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #284703

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

Preview Lab → · Contrast checker → · Palette generator →

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