#283C1C#283C1C

#283C1C is a dark, muted yellow-green. Relative luminance 0.038; OKLCH L 33.0% C 0.059 H 134.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#283C1C
RGBrgb(40, 60, 28)
HSLhsl(98, 36%, 17%)
HSVhsv(98, 53%, 24%)
CMYKcmyk(33.3%, 0%, 53.3%, 76.5%)
CIE-LABlab(22.88, -15.03, 17.22)
CIE-LCHlch(22.88, 22.86, 131.12°)
OKLaboklab(33% -0.0414 0.0417)
OKLCHoklch(33% 0.059 134.8)
XYZxyz(2.7005, 3.7666, 1.6831)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C1C #301C3C
analogous
#383C1C #283C1C #1C3C20
triadic
#283C1C #1C283C #3C1C28
tetradic
#283C1C #1C383C #301C3C #3C201C
square
#283C1C #1C383C #301C3C #3C201C
split-complementary
#283C1C #201C3C #3C1C38
monochromatic
#0E150A #0E150A #283C1C #44662F #608F43

Accessibility & contrast

On white

11.98
#283C1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#283C1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C1C
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C1C#FFFFFF#000000##FFFFFF
##283C1C1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3819
Deuteranopia (green-blind)
#3B361E
Tritanopia (blue-blind)
#283A34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283c1c;
/* rgb */ color: rgb(40, 60, 28);
/* oklch */ color: oklch(33.0% 0.059 134.8);
Tailwind
colors: {
  custom: {
    50: '#637259',
    500: '#283c1c',
    950: '#000000',
  },
}
SCSS
$custom: #283c1c;
$custom-light: #637259;
$custom-dark: #000000;
JSON
{
  "hex": "#283c1c",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 28
  },
  "hsl": {
    "h": 97.5,
    "s": 36.364,
    "l": 17.255
  },
  "oklch": {
    "l": 0.33002,
    "c": 0.05874,
    "h": 134.8
  },
  "luminance": 0.03767
}

Semantic roles & 50–950 ramp

primary
#283C1C
secondary
#604371
accent
#5BCCA2
background
#F5F6F5
surface
#EAECE9
border
#C6C7C5
text
#050703
muted
#797A78

Preview Lab

Preview with #283C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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