#283D0D#283D0D

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

Color values

HEX#283D0D
RGBrgb(40, 61, 13)
HSLhsl(86, 65%, 15%)
HSVhsv(86, 79%, 24%)
CMYKcmyk(34.4%, 0%, 78.7%, 76.1%)
CIE-LABlab(23.06, -17.39, 25.75)
CIE-LCHlch(23.06, 31.07, 124.03°)
OKLaboklab(33.08% -0.0492 0.0583)
OKLCHoklch(33.08% 0.076 130.2)
XYZxyz(2.6164, 3.8176, 0.9797)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D0D #220D3D
analogous
#3D3A0D #283D0D #103D0D
triadic
#283D0D #0D283D #3D0D28
tetradic
#283D0D #0D3D3A #220D3D #3D0D10
square
#283D0D #0D3D3A #220D3D #3D0D10
split-complementary
#283D0D #0D103D #3A0D3D
monochromatic
#111905 #111905 #283D0D #496F18 #6AA223

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283D0D#FFFFFF#000000##FFFFFF
##283D0D1.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)
#403806
Deuteranopia (green-blind)
#3D3611
Tritanopia (blue-blind)
#293A33
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283d0d;
/* rgb */ color: rgb(40, 61, 13);
/* oklch */ color: oklch(33.1% 0.076 130.2);
Tailwind
colors: {
  custom: {
    50: '#64724f',
    500: '#283d0d',
    950: '#000000',
  },
}
SCSS
$custom: #283d0d;
$custom-light: #64724f;
$custom-dark: #000000;
JSON
{
  "hex": "#283d0d",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 13
  },
  "hsl": {
    "h": 86.25,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33083,
    "c": 0.07633,
    "h": 130.2
  },
  "luminance": 0.03818
}

Semantic roles & 50–950 ramp

primary
#283D0D
secondary
#4E2D79
accent
#40E889
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #283D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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