#284606#284606

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

Color values

HEX#284606
RGBrgb(40, 70, 6)
HSLhsl(88, 84%, 15%)
HSVhsv(88, 91%, 27%)
CMYKcmyk(42.9%, 0%, 91.4%, 72.5%)
CIE-LABlab(26.29, -22.55, 31.82)
CIE-LCHlch(26.29, 39.00, 125.33°)
OKLaboklab(35.7% -0.0639 0.0697)
OKLCHoklch(35.7% 0.095 132.5)
XYZxyz(3.0981, 4.8444, 0.9441)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284606 #240646
analogous
#464406 #284606 #084606
triadic
#284606 #062846 #460628
tetradic
#284606 #064644 #240646 #460608
square
#284606 #064644 #240646 #460608
split-complementary
#284606 #060846 #440646
monochromatic
#101C02 #101C02 #284606 #487E0B #68B710

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##284606#FFFFFF#000000##FFFFFF
##2846061.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)
#453D0D
Tritanopia (blue-blind)
#28433A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #284606;
/* rgb */ color: rgb(40, 70, 6);
/* oklch */ color: oklch(35.7% 0.095 132.5);
Tailwind
colors: {
  custom: {
    50: '#66794d',
    500: '#284606',
    950: '#000000',
  },
}
SCSS
$custom: #284606;
$custom-light: #66794d;
$custom-dark: #000000;
JSON
{
  "hex": "#284606",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 6
  },
  "hsl": {
    "h": 88.125,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35701,
    "c": 0.09455,
    "h": 132.5
  },
  "luminance": 0.04845
}

Semantic roles & 50–950 ramp

primary
#284606
secondary
#512285
accent
#2DFA8D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #284606

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

Preview Lab → · Contrast checker → · Palette generator →

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