#284108#284108

#284108 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.086 H 131.0°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#284108
RGBrgb(40, 65, 8)
HSLhsl(86, 78%, 14%)
HSVhsv(86, 88%, 25%)
CMYKcmyk(38.5%, 0%, 87.7%, 74.5%)
CIE-LABlab(24.48, -19.88, 29.31)
CIE-LCHlch(24.48, 35.41, 124.16°)
OKLaboklab(34.23% -0.0565 0.0649)
OKLCHoklch(34.23% 0.086 131)
XYZxyz(2.8092, 4.2491, 0.9018)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284108 #210841
analogous
#413E08 #284108 #0C4108
triadic
#284108 #082841 #410828
tetradic
#284108 #08413E #210841 #41080C
square
#284108 #08413E #210841 #41080C
split-complementary
#284108 #080C41 #3E0841
monochromatic
#111B03 #111B03 #284108 #4A770F #6BAE15

Accessibility & contrast

On white

11.35
#284108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#284108 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284108
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284108#FFFFFF#000000##FFFFFF
##2841081.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#41390E
Tritanopia (blue-blind)
#293E36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #284108;
/* rgb */ color: rgb(40, 65, 8);
/* oklch */ color: oklch(34.2% 0.086 131.0);
Tailwind
colors: {
  custom: {
    50: '#65754d',
    500: '#284108',
    950: '#000000',
  },
}
SCSS
$custom: #284108;
$custom-light: #65754d;
$custom-dark: #000000;
JSON
{
  "hex": "#284108",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 8
  },
  "hsl": {
    "h": 86.316,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34227,
    "c": 0.08605,
    "h": 131
  },
  "luminance": 0.04249
}

Semantic roles & 50–950 ramp

primary
#284108
secondary
#4D257F
accent
#33F588
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #284108

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

Preview Lab → · Contrast checker → · Palette generator →

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