#283C0F#283C0F

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

Color values

HEX#283C0F
RGBrgb(40, 60, 15)
HSLhsl(87, 60%, 15%)
HSVhsv(87, 75%, 24%)
CMYKcmyk(33.3%, 0%, 75%, 76.5%)
CIE-LABlab(22.71, -16.66, 24.40)
CIE-LCHlch(22.71, 29.54, 124.32°)
OKLaboklab(32.81% -0.047 0.0558)
OKLCHoklch(32.81% 0.073 130.1)
XYZxyz(2.5771, 3.7172, 1.0336)
Luminance0.0372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C0F #230F3C
analogous
#3C3A0F #283C0F #113C0F
triadic
#283C0F #0F283C #3C0F28
tetradic
#283C0F #0F3C3A #230F3C #3C0F11
square
#283C0F #0F3C3A #230F3C #3C0F11
split-complementary
#283C0F #0F113C #3A0F3C
monochromatic
#101806 #101806 #283C0F #496D1B #699E27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283C0F#FFFFFF#000000##FFFFFF
##283C0F1.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)
#3F3709
Deuteranopia (green-blind)
#3C3613
Tritanopia (blue-blind)
#293933
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #283c0f;
/* rgb */ color: rgb(40, 60, 15);
/* oklch */ color: oklch(32.8% 0.073 130.1);
Tailwind
colors: {
  custom: {
    50: '#647250',
    500: '#283c0f',
    950: '#000000',
  },
}
SCSS
$custom: #283c0f;
$custom-light: #647250;
$custom-dark: #000000;
JSON
{
  "hex": "#283c0f",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 15
  },
  "hsl": {
    "h": 86.667,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32808,
    "c": 0.073,
    "h": 130.1
  },
  "luminance": 0.03717
}

Semantic roles & 50–950 ramp

primary
#283C0F
secondary
#503076
accent
#45E38B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #283C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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