#284605#284605

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

Color values

HEX#284605
RGBrgb(40, 70, 5)
HSLhsl(88, 87%, 15%)
HSVhsv(88, 93%, 27%)
CMYKcmyk(42.9%, 0%, 92.9%, 72.5%)
CIE-LABlab(26.28, -22.62, 32.22)
CIE-LCHlch(26.28, 39.37, 125.07°)
OKLaboklab(35.69% -0.0641 0.0704)
OKLCHoklch(35.69% 0.095 132.3)
XYZxyz(3.0926, 4.8422, 0.9153)
Luminance0.0484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284605 #230546
analogous
#464405 #284605 #084605
triadic
#284605 #052846 #460528
tetradic
#284605 #054644 #230546 #460508
square
#284605 #054644 #230546 #460508
split-complementary
#284605 #050846 #440546
monochromatic
#101D02 #101D02 #284605 #497F09 #69B80D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##284605#FFFFFF#000000##FFFFFF
##2846051.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: #284605;
/* rgb */ color: rgb(40, 70, 5);
/* oklch */ color: oklch(35.7% 0.095 132.3);
Tailwind
colors: {
  custom: {
    50: '#66794c',
    500: '#284605',
    950: '#000000',
  },
}
SCSS
$custom: #284605;
$custom-light: #66794c;
$custom-dark: #000000;
JSON
{
  "hex": "#284605",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 5
  },
  "hsl": {
    "h": 87.692,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.35693,
    "c": 0.09519,
    "h": 132.3
  },
  "luminance": 0.04842
}

Semantic roles & 50–950 ramp

primary
#284605
secondary
#502186
accent
#2BFD8C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #284605

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

Preview Lab → · Contrast checker → · Palette generator →

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