#283713#283713

#283713 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.4% C 0.061 H 128.3°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#283713
RGBrgb(40, 55, 19)
HSLhsl(85, 49%, 15%)
HSVhsv(85, 65%, 22%)
CMYKcmyk(27.3%, 0%, 65.5%, 78.4%)
CIE-LABlab(20.94, -13.40, 20.26)
CIE-LCHlch(20.94, 24.29, 123.47°)
OKLaboklab(31.39% -0.0376 0.0476)
OKLCHoklch(31.39% 0.061 128.3)
XYZxyz(2.3588, 3.2305, 1.1152)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283713 #221337
analogous
#373413 #283713 #163713
triadic
#283713 #132837 #371328
tetradic
#283713 #133734 #221337 #371316
square
#283713 #133734 #221337 #371316
split-complementary
#283713 #131637 #341337
monochromatic
#111708 #111708 #283713 #496423 #6A9232

Accessibility & contrast

On white

12.76
#283713 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#283713 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283713
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283713#FFFFFF#000000##FFFFFF
##2837131.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A330F
Deuteranopia (green-blind)
#383215
Tritanopia (blue-blind)
#29342F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #283713;
/* rgb */ color: rgb(40, 55, 19);
/* oklch */ color: oklch(31.4% 0.061 128.3);
Tailwind
colors: {
  custom: {
    50: '#636d52',
    500: '#283713',
    950: '#000000',
  },
}
SCSS
$custom: #283713;
$custom-light: #636d52;
$custom-dark: #000000;
JSON
{
  "hex": "#283713",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 19
  },
  "hsl": {
    "h": 85,
    "s": 48.649,
    "l": 14.51
  },
  "oklch": {
    "l": 0.31388,
    "c": 0.06066,
    "h": 128.3
  },
  "luminance": 0.03231
}

Semantic roles & 50–950 ramp

primary
#283713
secondary
#4E376F
accent
#50D889
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050702
muted
#797A78

Preview Lab

Preview with #283713

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

Preview Lab → · Contrast checker → · Palette generator →

#283713 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva