#283C0C#283C0C

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

Color values

HEX#283C0C
RGBrgb(40, 60, 12)
HSLhsl(85, 67%, 14%)
HSVhsv(85, 80%, 24%)
CMYKcmyk(33.3%, 0%, 80%, 76.5%)
CIE-LABlab(22.69, -16.93, 25.83)
CIE-LCHlch(22.69, 30.88, 123.24°)
OKLaboklab(32.78% -0.0481 0.0583)
OKLCHoklch(32.78% 0.076 129.5)
XYZxyz(2.5573, 3.7093, 0.9290)
Luminance0.0371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C0C #200C3C
analogous
#3C380C #283C0C #103C0C
triadic
#283C0C #0C283C #3C0C28
tetradic
#283C0C #0C3C38 #200C3C #3C0C10
square
#283C0C #0C3C38 #200C3C #3C0C10
split-complementary
#283C0C #0C103C #380C3C
monochromatic
#111A05 #111A05 #283C0C #4A6F16 #6CA220

Accessibility & contrast

On white

12.06
#283C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283C0C
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C0C#FFFFFF#000000##FFFFFF
##283C0C1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3705
Deuteranopia (green-blind)
#3C3610
Tritanopia (blue-blind)
#293932
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #283c0c;
/* rgb */ color: rgb(40, 60, 12);
/* oklch */ color: oklch(32.8% 0.076 129.5);
Tailwind
colors: {
  custom: {
    50: '#64714e',
    500: '#283c0c',
    950: '#000000',
  },
}
SCSS
$custom: #283c0c;
$custom-light: #64714e;
$custom-dark: #000000;
JSON
{
  "hex": "#283c0c",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 12
  },
  "hsl": {
    "h": 85,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32777,
    "c": 0.07559,
    "h": 129.5
  },
  "luminance": 0.03709
}

Semantic roles & 50–950 ramp

primary
#283C0C
secondary
#4C2C78
accent
#3EEA86
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #283C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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