#283C0D#283C0D

#283C0D is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.8% C 0.075 H 129.7°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#283C0D
RGBrgb(40, 60, 13)
HSLhsl(86, 64%, 14%)
HSVhsv(86, 78%, 24%)
CMYKcmyk(33.3%, 0%, 78.3%, 76.5%)
CIE-LABlab(22.69, -16.84, 25.37)
CIE-LCHlch(22.69, 30.45, 123.58°)
OKLaboklab(32.79% -0.0477 0.0575)
OKLCHoklch(32.79% 0.075 129.7)
XYZxyz(2.5636, 3.7118, 0.9621)
Luminance0.0371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C0D #210D3C
analogous
#3C390D #283C0D #113C0D
triadic
#283C0D #0D283C #3C0D28
tetradic
#283C0D #0D3C39 #210D3C #3C0D11
square
#283C0D #0D3C39 #210D3C #3C0D11
split-complementary
#283C0D #0D113C #390D3C
monochromatic
#111905 #111905 #283C0D #4A6E18 #6BA123

Accessibility & contrast

On white

12.05
#283C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#283C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C0D
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C0D#FFFFFF#000000##FFFFFF
##283C0D1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3707
Deuteranopia (green-blind)
#3C3611
Tritanopia (blue-blind)
#293933
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #283c0d;
/* rgb */ color: rgb(40, 60, 13);
/* oklch */ color: oklch(32.8% 0.075 129.7);
Tailwind
colors: {
  custom: {
    50: '#64714f',
    500: '#283c0d',
    950: '#000000',
  },
}
SCSS
$custom: #283c0d;
$custom-light: #64714f;
$custom-dark: #000000;
JSON
{
  "hex": "#283c0d",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 13
  },
  "hsl": {
    "h": 85.532,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32787,
    "c": 0.07477,
    "h": 129.7
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#283C0D
secondary
#4D2D78
accent
#40E787
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #283C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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