#283D12#283D12

#283D12 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.1% C 0.072 H 131.3°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#283D12
RGBrgb(40, 61, 18)
HSLhsl(89, 54%, 15%)
HSVhsv(89, 70%, 24%)
CMYKcmyk(34.4%, 0%, 70.5%, 76.1%)
CIE-LABlab(23.11, -16.90, 23.27)
CIE-LCHlch(23.11, 28.76, 125.99°)
OKLaboklab(33.14% -0.0474 0.0539)
OKLCHoklch(33.14% 0.072 131.3)
XYZxyz(2.6530, 3.8322, 1.1721)
Luminance0.0383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D12 #27123D
analogous
#3D3C12 #283D12 #133D12
triadic
#283D12 #12283D #3D1228
tetradic
#283D12 #123D3C #27123D #3D1213
square
#283D12 #123D3C #27123D #3D1213
split-complementary
#283D12 #12133D #3C123D
monochromatic
#0F1807 #0F1807 #283D12 #476C20 #669C2E

Accessibility & contrast

On white

11.89
#283D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#283D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D12
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D12#FFFFFF#000000##FFFFFF
##283D121.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380D
Deuteranopia (green-blind)
#3D3715
Tritanopia (blue-blind)
#293A34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283d12;
/* rgb */ color: rgb(40, 61, 18);
/* oklch */ color: oklch(33.1% 0.072 131.3);
Tailwind
colors: {
  custom: {
    50: '#647252',
    500: '#283d12',
    950: '#000000',
  },
}
SCSS
$custom: #283d12;
$custom-light: #647252;
$custom-dark: #000000;
JSON
{
  "hex": "#283d12",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 18
  },
  "hsl": {
    "h": 89.302,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33139,
    "c": 0.07176,
    "h": 131.3
  },
  "luminance": 0.03832
}

Semantic roles & 50–950 ramp

primary
#283D12
secondary
#553576
accent
#4ADE92
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #283D12

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

Preview Lab → · Contrast checker → · Palette generator →

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