#283D0C#283D0C

#283D0C is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.1% C 0.077 H 130.0°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#283D0C
RGBrgb(40, 61, 12)
HSLhsl(86, 67%, 14%)
HSVhsv(86, 80%, 24%)
CMYKcmyk(34.4%, 0%, 80.3%, 76.1%)
CIE-LABlab(23.05, -17.47, 26.20)
CIE-LCHlch(23.05, 31.49, 123.69°)
OKLaboklab(33.07% -0.0496 0.0591)
OKLCHoklch(33.07% 0.077 130)
XYZxyz(2.6102, 3.8151, 0.9466)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D0C #210C3D
analogous
#3D3A0C #283D0C #103D0C
triadic
#283D0C #0C283D #3D0C28
tetradic
#283D0C #0C3D3A #210C3D #3D0C10
square
#283D0C #0C3D3A #210C3D #3D0C10
split-complementary
#283D0C #0C103D #3A0C3D
monochromatic
#111A05 #111A05 #283D0C #4A7016 #6BA320

Accessibility & contrast

On white

11.91
#283D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#283D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D0C
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D0C#FFFFFF#000000##FFFFFF
##283D0C1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403805
Deuteranopia (green-blind)
#3D3610
Tritanopia (blue-blind)
#293A33
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283d0c;
/* rgb */ color: rgb(40, 61, 12);
/* oklch */ color: oklch(33.1% 0.077 130.0);
Tailwind
colors: {
  custom: {
    50: '#64724e',
    500: '#283d0c',
    950: '#000000',
  },
}
SCSS
$custom: #283d0c;
$custom-light: #64724e;
$custom-dark: #000000;
JSON
{
  "hex": "#283d0c",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 12
  },
  "hsl": {
    "h": 85.714,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33073,
    "c": 0.07715,
    "h": 130
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#283D0C
secondary
#4D2C79
accent
#3EEA88
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #283D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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