#283312#283312

#283312 is a dark, muted yellow-green. Relative luminance 0.029; OKLCH L 30.2% C 0.055 H 124.9°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#283312
RGBrgb(40, 51, 18)
HSLhsl(80, 48%, 14%)
HSVhsv(80, 65%, 20%)
CMYKcmyk(21.6%, 0%, 64.7%, 80%)
CIE-LABlab(19.48, -11.15, 19.15)
CIE-LCHlch(19.48, 22.16, 120.20°)
OKLaboklab(30.21% -0.0315 0.0451)
OKLCHoklch(30.21% 0.055 124.9)
XYZxyz(2.1681, 2.8624, 1.0104)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283312 #1D1233
analogous
#332D12 #283312 #173312
triadic
#283312 #122833 #331228
tetradic
#283312 #12332D #1D1233 #331217
square
#283312 #12332D #1D1233 #331217
split-complementary
#283312 #121733 #2D1233
monochromatic
#121708 #121708 #283312 #4B6022 #6F8D32

Accessibility & contrast

On white

13.36
#283312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#283312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283312
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283312#FFFFFF#000000##FFFFFF
##2833121.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36300F
Deuteranopia (green-blind)
#342F14
Tritanopia (blue-blind)
#2A302C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #283312;
/* rgb */ color: rgb(40, 51, 18);
/* oklch */ color: oklch(30.2% 0.055 124.9);
Tailwind
colors: {
  custom: {
    50: '#636a51',
    500: '#283312',
    950: '#000000',
  },
}
SCSS
$custom: #283312;
$custom-light: #636a51;
$custom-dark: #000000;
JSON
{
  "hex": "#283312",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 18
  },
  "hsl": {
    "h": 80,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30205,
    "c": 0.05496,
    "h": 124.9
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#283312
secondary
#47356B
accent
#50D77D
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050602
muted
#797A78

Preview Lab

Preview with #283312

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

Preview Lab → · Contrast checker → · Palette generator →

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