#284205#284205

#284205 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.5% C 0.090 H 131.0°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#284205
RGBrgb(40, 66, 5)
HSLhsl(86, 86%, 14%)
HSVhsv(86, 92%, 26%)
CMYKcmyk(39.4%, 0%, 92.4%, 74.1%)
CIE-LABlab(24.82, -20.61, 30.86)
CIE-LCHlch(24.82, 37.11, 123.74°)
OKLaboklab(34.5% -0.0587 0.0676)
OKLCHoklch(34.5% 0.09 131)
XYZxyz(2.8507, 4.3584, 0.8346)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284205 #1F0542
analogous
#423E05 #284205 #0A4205
triadic
#284205 #052842 #420528
tetradic
#284205 #05423E #1F0542 #42050A
square
#284205 #05423E #1F0542 #42050A
split-complementary
#284205 #050A42 #3E0542
monochromatic
#111C02 #111C02 #284205 #4A7B09 #6DB40E

Accessibility & contrast

On white

11.22
#284205 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#284205 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284205
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284205#FFFFFF#000000##FFFFFF
##2842051.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#423A0C
Tritanopia (blue-blind)
#293F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #284205;
/* rgb */ color: rgb(40, 66, 5);
/* oklch */ color: oklch(34.5% 0.090 131.0);
Tailwind
colors: {
  custom: {
    50: '#65764b',
    500: '#284205',
    950: '#000000',
  },
}
SCSS
$custom: #284205;
$custom-light: #65764b;
$custom-dark: #000000;
JSON
{
  "hex": "#284205",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 5
  },
  "hsl": {
    "h": 85.574,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34501,
    "c": 0.08956,
    "h": 131
  },
  "luminance": 0.04359
}

Semantic roles & 50–950 ramp

primary
#284205
secondary
#4A2082
accent
#2CFC85
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #284205

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

Preview Lab → · Contrast checker → · Palette generator →

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