#283D17#283D17

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

Color values

HEX#283D17
RGBrgb(40, 61, 23)
HSLhsl(93, 45%, 16%)
HSVhsv(93, 62%, 24%)
CMYKcmyk(34.4%, 0%, 62.3%, 76.1%)
CIE-LABlab(23.17, -16.31, 20.55)
CIE-LCHlch(23.17, 26.24, 128.43°)
OKLaboklab(33.21% -0.0453 0.0487)
OKLCHoklch(33.21% 0.066 132.9)
XYZxyz(2.6984, 3.8504, 1.4115)
Luminance0.0385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D17 #2C173D
analogous
#3B3D17 #283D17 #173D19
triadic
#283D17 #17283D #3D1728
tetradic
#283D17 #173B3D #2C173D #3D1917
square
#283D17 #173B3D #2C173D #3D1917
split-complementary
#283D17 #19173D #3D173B
monochromatic
#0F1608 #0F1608 #283D17 #456928 #629639

Accessibility & contrast

On white

11.86
#283D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283D17
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D17#FFFFFF#000000##FFFFFF
##283D171.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403813
Deuteranopia (green-blind)
#3D371A
Tritanopia (blue-blind)
#283B34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283d17;
/* rgb */ color: rgb(40, 61, 23);
/* oklch */ color: oklch(33.2% 0.066 132.9);
Tailwind
colors: {
  custom: {
    50: '#637255',
    500: '#283d17',
    950: '#000000',
  },
}
SCSS
$custom: #283d17;
$custom-light: #637255;
$custom-dark: #000000;
JSON
{
  "hex": "#283d17",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 23
  },
  "hsl": {
    "h": 93.158,
    "s": 45.238,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33209,
    "c": 0.06646,
    "h": 132.9
  },
  "luminance": 0.0385
}

Semantic roles & 50–950 ramp

primary
#283D17
secondary
#5B3C74
accent
#53D59B
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#050803
muted
#7A7B78

Preview Lab

Preview with #283D17

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

Preview Lab → · Contrast checker → · Palette generator →

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