#284005#284005

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

Color values

HEX#284005
RGBrgb(40, 64, 5)
HSLhsl(84, 86%, 14%)
HSVhsv(84, 92%, 25%)
CMYKcmyk(37.5%, 0%, 92.2%, 74.9%)
CIE-LABlab(24.09, -19.58, 30.15)
CIE-LCHlch(24.09, 35.95, 123.00°)
OKLaboklab(33.91% -0.056 0.0663)
OKLCHoklch(33.91% 0.087 130.2)
XYZxyz(2.7358, 4.1288, 0.7963)
Luminance0.0413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284005 #1D0540
analogous
#403A05 #284005 #0A4005
triadic
#284005 #052840 #400528
tetradic
#284005 #05403A #1D0540 #40050A
square
#284005 #05403A #1D0540 #40050A
split-complementary
#284005 #050A40 #3A0540
monochromatic
#121C02 #121C02 #284005 #4B7909 #6FB20E

Accessibility & contrast

On white

11.50
#284005 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#284005 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284005
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284005#FFFFFF#000000##FFFFFF
##2840051.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#40390B
Tritanopia (blue-blind)
#293D35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #284005;
/* rgb */ color: rgb(40, 64, 5);
/* oklch */ color: oklch(33.9% 0.087 130.2);
Tailwind
colors: {
  custom: {
    50: '#65754b',
    500: '#284005',
    950: '#000000',
  },
}
SCSS
$custom: #284005;
$custom-light: #65754b;
$custom-dark: #000000;
JSON
{
  "hex": "#284005",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 5
  },
  "hsl": {
    "h": 84.407,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33906,
    "c": 0.08672,
    "h": 130.2
  },
  "luminance": 0.04129
}

Semantic roles & 50–950 ramp

primary
#284005
secondary
#472081
accent
#2CFC81
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #284005

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

Preview Lab → · Contrast checker → · Palette generator →

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