#284308#284308

#284308 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 34.8% C 0.089 H 131.8°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#284308
RGBrgb(40, 67, 8)
HSLhsl(87, 79%, 15%)
HSVhsv(87, 88%, 26%)
CMYKcmyk(40.3%, 0%, 88.1%, 73.7%)
CIE-LABlab(25.21, -20.91, 30.00)
CIE-LCHlch(25.21, 36.57, 124.88°)
OKLaboklab(34.82% -0.0593 0.0663)
OKLCHoklch(34.82% 0.089 131.8)
XYZxyz(2.9260, 4.4828, 0.9408)
Luminance0.0448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284308 #230843
analogous
#434108 #284308 #0A4308
triadic
#284308 #082843 #430828
tetradic
#284308 #084341 #230843 #43080A
square
#284308 #084341 #230843 #43080A
split-complementary
#284308 #080A43 #410843
monochromatic
#101B03 #101B03 #284308 #497A0F #69B015

Accessibility & contrast

On white

11.07
#284308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#284308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284308
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284308#FFFFFF#000000##FFFFFF
##2843081.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#433B0E
Tritanopia (blue-blind)
#294038
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #284308;
/* rgb */ color: rgb(40, 67, 8);
/* oklch */ color: oklch(34.8% 0.089 131.8);
Tailwind
colors: {
  custom: {
    50: '#65774d',
    500: '#284308',
    950: '#000000',
  },
}
SCSS
$custom: #284308;
$custom-light: #65774d;
$custom-dark: #000000;
JSON
{
  "hex": "#284308",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 8
  },
  "hsl": {
    "h": 87.458,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34822,
    "c": 0.08895,
    "h": 131.8
  },
  "luminance": 0.04483
}

Semantic roles & 50–950 ramp

primary
#284308
secondary
#502581
accent
#33F58C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #284308

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

Preview Lab → · Contrast checker → · Palette generator →

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