#283D15#283D15

#283D15 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.2% C 0.069 H 132.2°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#283D15
RGBrgb(40, 61, 21)
HSLhsl(92, 49%, 16%)
HSVhsv(92, 66%, 24%)
CMYKcmyk(34.4%, 0%, 65.6%, 76.1%)
CIE-LABlab(23.14, -16.56, 21.66)
CIE-LCHlch(23.14, 27.27, 127.39°)
OKLaboklab(33.18% -0.0462 0.0508)
OKLCHoklch(33.18% 0.069 132.2)
XYZxyz(2.6791, 3.8427, 1.3099)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D15 #2A153D
analogous
#3C3D15 #283D15 #153D16
triadic
#283D15 #15283D #3D1528
tetradic
#283D15 #153C3D #2A153D #3D1615
square
#283D15 #153C3D #2A153D #3D1615
split-complementary
#283D15 #16153D #3D153C
monochromatic
#0F1708 #0F1708 #283D15 #466B25 #649834

Accessibility & contrast

On white

11.87
#283D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#283D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D15
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D15#FFFFFF#000000##FFFFFF
##283D151.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403811
Deuteranopia (green-blind)
#3D3718
Tritanopia (blue-blind)
#293A34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283d15;
/* rgb */ color: rgb(40, 61, 21);
/* oklch */ color: oklch(33.2% 0.069 132.2);
Tailwind
colors: {
  custom: {
    50: '#637254',
    500: '#283d15',
    950: '#000000',
  },
}
SCSS
$custom: #283d15;
$custom-light: #637254;
$custom-dark: #000000;
JSON
{
  "hex": "#283d15",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 21
  },
  "hsl": {
    "h": 91.5,
    "s": 48.78,
    "l": 16.078
  },
  "oklch": {
    "l": 0.3318,
    "c": 0.06866,
    "h": 132.2
  },
  "luminance": 0.03843
}

Semantic roles & 50–950 ramp

primary
#283D15
secondary
#583975
accent
#4FD897
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #283D15

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

Preview Lab → · Contrast checker → · Palette generator →

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