#283813#283813

#283813 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.7% C 0.062 H 129.0°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#283813
RGBrgb(40, 56, 19)
HSLhsl(86, 49%, 15%)
HSVhsv(86, 66%, 22%)
CMYKcmyk(28.6%, 0%, 66.1%, 78%)
CIE-LABlab(21.31, -13.98, 20.68)
CIE-LCHlch(21.31, 24.96, 124.05°)
OKLaboklab(31.68% -0.0392 0.0485)
OKLCHoklch(31.68% 0.062 129)
XYZxyz(2.4068, 3.3264, 1.1312)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283813 #231338
analogous
#383613 #283813 #163813
triadic
#283813 #132838 #381328
tetradic
#283813 #133836 #231338 #381316
square
#283813 #133836 #231338 #381316
split-complementary
#283813 #131638 #361338
monochromatic
#101708 #101708 #283813 #496623 #699332

Accessibility & contrast

On white

12.61
#283813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#283813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283813
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283813#FFFFFF#000000##FFFFFF
##2838131.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340F
Deuteranopia (green-blind)
#393315
Tritanopia (blue-blind)
#293530
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #283813;
/* rgb */ color: rgb(40, 56, 19);
/* oklch */ color: oklch(31.7% 0.062 129.0);
Tailwind
colors: {
  custom: {
    50: '#636e52',
    500: '#283813',
    950: '#000000',
  },
}
SCSS
$custom: #283813;
$custom-light: #636e52;
$custom-dark: #000000;
JSON
{
  "hex": "#283813",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 19
  },
  "hsl": {
    "h": 85.946,
    "s": 49.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.31681,
    "c": 0.06236,
    "h": 129
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

primary
#283813
secondary
#503770
accent
#4FD98B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #283813

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

Preview Lab → · Contrast checker → · Palette generator →

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