#284006#284006

#284006 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.9% C 0.086 H 130.3°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#284006
RGBrgb(40, 64, 6)
HSLhsl(85, 83%, 14%)
HSVhsv(85, 91%, 25%)
CMYKcmyk(37.5%, 0%, 90.6%, 74.9%)
CIE-LABlab(24.10, -19.51, 29.75)
CIE-LCHlch(24.10, 35.57, 123.26°)
OKLaboklab(33.91% -0.0557 0.0656)
OKLCHoklch(33.91% 0.086 130.3)
XYZxyz(2.7413, 4.1310, 0.8252)
Luminance0.0413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284006 #1E0640
analogous
#403B06 #284006 #0B4006
triadic
#284006 #062840 #400628
tetradic
#284006 #06403B #1E0640 #40060B
square
#284006 #06403B #1E0640 #40060B
split-complementary
#284006 #060B40 #3B0640
monochromatic
#111C03 #111C03 #284006 #4B780B #6EB010

Accessibility & contrast

On white

11.50
#284006 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#284006 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284006
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284006#FFFFFF#000000##FFFFFF
##2840061.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#40390C
Tritanopia (blue-blind)
#293D35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #284006;
/* rgb */ color: rgb(40, 64, 6);
/* oklch */ color: oklch(33.9% 0.086 130.3);
Tailwind
colors: {
  custom: {
    50: '#65754c',
    500: '#284006',
    950: '#000000',
  },
}
SCSS
$custom: #284006;
$custom-light: #65754c;
$custom-dark: #000000;
JSON
{
  "hex": "#284006",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 6
  },
  "hsl": {
    "h": 84.828,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33914,
    "c": 0.086,
    "h": 130.3
  },
  "luminance": 0.04131
}

Semantic roles & 50–950 ramp

primary
#284006
secondary
#492280
accent
#2FF982
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #284006

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

Preview Lab → · Contrast checker → · Palette generator →

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