#283A1A#283A1A

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

Color values

HEX#283A1A
RGBrgb(40, 58, 26)
HSLhsl(94, 38%, 16%)
HSVhsv(94, 55%, 23%)
CMYKcmyk(31%, 0%, 55.2%, 77.3%)
CIE-LABlab(22.13, -14.19, 17.51)
CIE-LCHlch(22.13, 22.54, 129.03°)
OKLaboklab(32.38% -0.0392 0.0422)
OKLCHoklch(32.38% 0.058 132.9)
XYZxyz(2.5745, 3.5517, 1.5270)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A1A #2C1A3A
analogous
#383A1A #283A1A #1A3A1C
triadic
#283A1A #1A283A #3A1A28
tetradic
#283A1A #1A383A #2C1A3A #3A1C1A
square
#283A1A #1A383A #2C1A3A #3A1C1A
split-complementary
#283A1A #1C1A3A #3A1A38
monochromatic
#0F1509 #0F1509 #283A1A #45642D #628F40

Accessibility & contrast

On white

12.28
#283A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283A1A
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A1A#FFFFFF#000000##FFFFFF
##283A1A1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3617
Deuteranopia (green-blind)
#3A341C
Tritanopia (blue-blind)
#283832
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283a1a;
/* rgb */ color: rgb(40, 58, 26);
/* oklch */ color: oklch(32.4% 0.058 132.9);
Tailwind
colors: {
  custom: {
    50: '#637057',
    500: '#283a1a',
    950: '#000000',
  },
}
SCSS
$custom: #283a1a;
$custom-light: #637057;
$custom-dark: #000000;
JSON
{
  "hex": "#283a1a",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 26
  },
  "hsl": {
    "h": 93.75,
    "s": 38.095,
    "l": 16.471
  },
  "oklch": {
    "l": 0.32381,
    "c": 0.0576,
    "h": 132.9
  },
  "luminance": 0.03552
}

Semantic roles & 50–950 ramp

primary
#283A1A
secondary
#5B406F
accent
#5ACE9B
background
#F5F6F5
surface
#EAECE9
border
#C6C7C5
text
#050703
muted
#797A78

Preview Lab

Preview with #283A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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