#283A1C#283A1C

#283A1C is a dark, muted yellow-green. Relative luminance 0.036; OKLCH L 32.4% C 0.055 H 133.9°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#283A1C
RGBrgb(40, 58, 28)
HSLhsl(96, 35%, 17%)
HSVhsv(96, 52%, 23%)
CMYKcmyk(31%, 0%, 51.7%, 77.3%)
CIE-LABlab(22.16, -13.89, 16.32)
CIE-LCHlch(22.16, 21.43, 130.40°)
OKLaboklab(32.42% -0.0382 0.0397)
OKLCHoklch(32.42% 0.055 133.9)
XYZxyz(2.5977, 3.5610, 1.6489)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A1C #2E1C3A
analogous
#373A1C #283A1C #1C3A1F
triadic
#283A1C #1C283A #3A1C28
tetradic
#283A1C #1C373A #2E1C3A #3A1F1C
square
#283A1C #1C373A #2E1C3A #3A1F1C
split-complementary
#283A1C #1F1C3A #3A1C37
monochromatic
#0E150A #0E150A #283A1C #446330 #618D44

Accessibility & contrast

On white

12.26
#283A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#283A1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A1C
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A1C#FFFFFF#000000##FFFFFF
##283A1C1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C361A
Deuteranopia (green-blind)
#39341E
Tritanopia (blue-blind)
#283833
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283a1c;
/* rgb */ color: rgb(40, 58, 28);
/* oklch */ color: oklch(32.4% 0.055 133.9);
Tailwind
colors: {
  custom: {
    50: '#637058',
    500: '#283a1c',
    950: '#000000',
  },
}
SCSS
$custom: #283a1c;
$custom-light: #637058;
$custom-dark: #000000;
JSON
{
  "hex": "#283a1c",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 28
  },
  "hsl": {
    "h": 96,
    "s": 34.884,
    "l": 16.863
  },
  "oklch": {
    "l": 0.32418,
    "c": 0.05507,
    "h": 133.9
  },
  "luminance": 0.03561
}

Semantic roles & 50–950 ramp

primary
#283A1C
secondary
#5D436F
accent
#5DCB9F
background
#F5F6F5
surface
#EAECE9
border
#C6C7C5
text
#050703
muted
#797A78

Preview Lab

Preview with #283A1C

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

Preview Lab → · Contrast checker → · Palette generator →

#283A1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva