#283B13#283B13

#283B13 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.067 H 130.7°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#283B13
RGBrgb(40, 59, 19)
HSLhsl(89, 51%, 15%)
HSVhsv(89, 68%, 23%)
CMYKcmyk(32.2%, 0%, 67.8%, 76.9%)
CIE-LABlab(22.39, -15.68, 21.92)
CIE-LCHlch(22.39, 26.95, 125.58°)
OKLaboklab(32.56% -0.0439 0.0511)
OKLCHoklch(32.56% 0.067 130.7)
XYZxyz(2.5566, 3.6260, 1.1812)
Luminance0.0363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B13 #26133B
analogous
#3B3A13 #283B13 #143B13
triadic
#283B13 #13283B #3B1328
tetradic
#283B13 #133B3A #26133B #3B1314
square
#283B13 #133B3A #26133B #3B1314
split-complementary
#283B13 #13143B #3A133B
monochromatic
#101707 #101707 #283B13 #476922 #679831

Accessibility & contrast

On white

12.17
#283B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#283B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B13
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B13#FFFFFF#000000##FFFFFF
##283B131.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E360F
Deuteranopia (green-blind)
#3B3516
Tritanopia (blue-blind)
#293832
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #283b13;
/* rgb */ color: rgb(40, 59, 19);
/* oklch */ color: oklch(32.6% 0.067 130.7);
Tailwind
colors: {
  custom: {
    50: '#637152',
    500: '#283b13',
    950: '#000000',
  },
}
SCSS
$custom: #283b13;
$custom-light: #637152;
$custom-dark: #000000;
JSON
{
  "hex": "#283b13",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 19
  },
  "hsl": {
    "h": 88.5,
    "s": 51.282,
    "l": 15.294
  },
  "oklch": {
    "l": 0.32563,
    "c": 0.06742,
    "h": 130.7
  },
  "luminance": 0.03626
}

Semantic roles & 50–950 ramp

primary
#283B13
secondary
#533673
accent
#4DDB90
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #283B13

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

Preview Lab → · Contrast checker → · Palette generator →

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