#284206#284206

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

Color values

HEX#284206
RGBrgb(40, 66, 6)
HSLhsl(86, 83%, 14%)
HSVhsv(86, 91%, 26%)
CMYKcmyk(39.4%, 0%, 90.9%, 74.1%)
CIE-LABlab(24.83, -20.54, 30.46)
CIE-LCHlch(24.83, 36.74, 124.00°)
OKLaboklab(34.51% -0.0584 0.067)
OKLCHoklch(34.51% 0.089 131.1)
XYZxyz(2.8561, 4.3606, 0.8635)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284206 #200642
analogous
#423E06 #284206 #0A4206
triadic
#284206 #062842 #420628
tetradic
#284206 #06423E #200642 #42060A
square
#284206 #06423E #200642 #42060A
split-complementary
#284206 #060A42 #3E0642
monochromatic
#111C03 #111C03 #284206 #4A7A0B #6CB210

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##284206#FFFFFF#000000##FFFFFF
##2842061.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)
#423A0D
Tritanopia (blue-blind)
#293F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #284206;
/* rgb */ color: rgb(40, 66, 6);
/* oklch */ color: oklch(34.5% 0.089 131.1);
Tailwind
colors: {
  custom: {
    50: '#65764c',
    500: '#284206',
    950: '#000000',
  },
}
SCSS
$custom: #284206;
$custom-light: #65764c;
$custom-dark: #000000;
JSON
{
  "hex": "#284206",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 6
  },
  "hsl": {
    "h": 86,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.34509,
    "c": 0.08887,
    "h": 131.1
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#284206
secondary
#4C2282
accent
#2EFA86
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #284206

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

Preview Lab → · Contrast checker → · Palette generator →

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