#283805#283805

#283805 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.5% C 0.075 H 126.1°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#283805
RGBrgb(40, 56, 5)
HSLhsl(79, 84%, 12%)
HSVhsv(79, 91%, 22%)
CMYKcmyk(28.6%, 0%, 91.1%, 78%)
CIE-LABlab(21.17, -15.25, 27.11)
CIE-LCHlch(21.17, 31.11, 119.36°)
OKLaboklab(31.53% -0.0443 0.0607)
OKLCHoklch(31.53% 0.075 126.1)
XYZxyz(2.3167, 3.2904, 0.6566)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283805 #150538
analogous
#382F05 #283805 #0E3805
triadic
#283805 #052838 #380528
tetradic
#283805 #05382F #150538 #38050E
square
#283805 #05382F #150538 #38050E
split-complementary
#283805 #050E38 #2F0538
monochromatic
#141C03 #141C03 #283805 #50700A #78A80F

Accessibility & contrast

On white

12.67
#283805 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#283805 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283805
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283805#FFFFFF#000000##FFFFFF
##2838051.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3300
Deuteranopia (green-blind)
#39330A
Tritanopia (blue-blind)
#2A352F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #283805;
/* rgb */ color: rgb(40, 56, 5);
/* oklch */ color: oklch(31.5% 0.075 126.1);
Tailwind
colors: {
  custom: {
    50: '#646e4a',
    500: '#283805',
    950: '#000000',
  },
}
SCSS
$custom: #283805;
$custom-light: #646e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#283805",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 5
  },
  "hsl": {
    "h": 78.824,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31528,
    "c": 0.07512,
    "h": 126.1
  },
  "luminance": 0.0329
}

Semantic roles & 50–950 ramp

primary
#283805
secondary
#3C2079
accent
#2EFA6E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #283805

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

Preview Lab → · Contrast checker → · Palette generator →

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