#283909#283909

#283909 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.9% C 0.073 H 127.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#283909
RGBrgb(40, 57, 9)
HSLhsl(81, 73%, 13%)
HSVhsv(81, 84%, 22%)
CMYKcmyk(29.8%, 0%, 84.2%, 77.6%)
CIE-LABlab(21.57, -15.50, 25.91)
CIE-LCHlch(21.57, 30.19, 120.89°)
OKLaboklab(31.86% -0.0445 0.0583)
OKLCHoklch(31.86% 0.073 127.3)
XYZxyz(2.3875, 3.3970, 0.7883)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283909 #1A0939
analogous
#393209 #283909 #103909
triadic
#283909 #092839 #390928
tetradic
#283909 #093932 #1A0939 #390910
square
#283909 #093932 #1A0939 #390910
split-complementary
#283909 #091039 #320939
monochromatic
#131A04 #131A04 #283909 #4D6E11 #72A31A

Accessibility & contrast

On white

12.50
#283909 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#283909 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283909
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283909#FFFFFF#000000##FFFFFF
##2839091.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3403
Deuteranopia (green-blind)
#3A330D
Tritanopia (blue-blind)
#2A3630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #283909;
/* rgb */ color: rgb(40, 57, 9);
/* oklch */ color: oklch(31.9% 0.073 127.3);
Tailwind
colors: {
  custom: {
    50: '#646f4c',
    500: '#283909',
    950: '#000000',
  },
}
SCSS
$custom: #283909;
$custom-light: #646f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#283909",
  "rgb": {
    "r": 40,
    "g": 57,
    "b": 9
  },
  "hsl": {
    "h": 81.25,
    "s": 72.727,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31861,
    "c": 0.07334,
    "h": 127.3
  },
  "luminance": 0.03397
}

Semantic roles & 50–950 ramp

primary
#283909
secondary
#432777
accent
#38EF79
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #283909

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

Preview Lab → · Contrast checker → · Palette generator →

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