#284706#284706

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

Color values

HEX#284706
RGBrgb(40, 71, 6)
HSLhsl(89, 84%, 15%)
HSVhsv(89, 92%, 28%)
CMYKcmyk(43.7%, 0%, 91.5%, 72.2%)
CIE-LABlab(26.65, -23.05, 32.15)
CIE-LCHlch(26.65, 39.55, 125.64°)
OKLaboklab(36% -0.0652 0.0704)
OKLCHoklch(36% 0.096 132.8)
XYZxyz(3.1611, 4.9706, 0.9651)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284706 #250647
analogous
#474506 #284706 #084706
triadic
#284706 #062847 #470628
tetradic
#284706 #064745 #250647 #470608
square
#284706 #064745 #250647 #470608
split-complementary
#284706 #060847 #450647
monochromatic
#101C02 #101C02 #284706 #487F0B #68B810

Accessibility & contrast

On white

10.53
#284706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284706
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284706#FFFFFF#000000##FFFFFF
##2847061.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #284706;
/* rgb */ color: rgb(40, 71, 6);
/* oklch */ color: oklch(36.0% 0.096 132.8);
Tailwind
colors: {
  custom: {
    50: '#667a4d',
    500: '#284706',
    950: '#000000',
  },
}
SCSS
$custom: #284706;
$custom-light: #667a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#284706",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 6
  },
  "hsl": {
    "h": 88.615,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.35998,
    "c": 0.09594,
    "h": 132.8
  },
  "luminance": 0.04971
}

Semantic roles & 50–950 ramp

primary
#284706
secondary
#522386
accent
#2DFB8F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #284706

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

Preview Lab → · Contrast checker → · Palette generator →

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