#283512#283512

#283512 is a dark, muted yellow-green. Relative luminance 0.030; OKLCH L 30.8% C 0.058 H 126.6°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#283512
RGBrgb(40, 53, 18)
HSLhsl(82, 49%, 14%)
HSVhsv(82, 66%, 21%)
CMYKcmyk(24.5%, 0%, 66%, 79.2%)
CIE-LABlab(20.21, -12.34, 19.99)
CIE-LCHlch(20.21, 23.49, 121.69°)
OKLaboklab(30.79% -0.0348 0.0469)
OKLCHoklch(30.79% 0.058 126.6)
XYZxyz(2.2574, 3.0410, 1.0402)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283512 #1F1235
analogous
#353112 #283512 #173512
triadic
#283512 #122835 #351228
tetradic
#283512 #123531 #1F1235 #351217
square
#283512 #123531 #1F1235 #351217
split-complementary
#283512 #121735 #311235
monochromatic
#111708 #111708 #283512 #4A6322 #6D9031

Accessibility & contrast

On white

13.06
#283512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#283512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283512
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283512#FFFFFF#000000##FFFFFF
##2835121.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310E
Deuteranopia (green-blind)
#363114
Tritanopia (blue-blind)
#2A322D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #283512;
/* rgb */ color: rgb(40, 53, 18);
/* oklch */ color: oklch(30.8% 0.058 126.6);
Tailwind
colors: {
  custom: {
    50: '#636c51',
    500: '#283512',
    950: '#000000',
  },
}
SCSS
$custom: #283512;
$custom-light: #636c51;
$custom-dark: #000000;
JSON
{
  "hex": "#283512",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 18
  },
  "hsl": {
    "h": 82.286,
    "s": 49.296,
    "l": 13.922
  },
  "oklch": {
    "l": 0.30789,
    "c": 0.05838,
    "h": 126.6
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#283512
secondary
#4A356D
accent
#4FD982
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050702
muted
#797A78

Preview Lab

Preview with #283512

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

Preview Lab → · Contrast checker → · Palette generator →

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