#283C12#283C12

#283C12 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.8% C 0.070 H 130.9°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#283C12
RGBrgb(40, 60, 18)
HSLhsl(89, 54%, 15%)
HSVhsv(89, 70%, 24%)
CMYKcmyk(33.3%, 0%, 70%, 76.5%)
CIE-LABlab(22.75, -16.35, 22.87)
CIE-LCHlch(22.75, 28.11, 125.57°)
OKLaboklab(32.84% -0.0459 0.053)
OKLCHoklch(32.84% 0.07 130.9)
XYZxyz(2.6001, 3.7264, 1.1544)
Luminance0.0373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C12 #26123C
analogous
#3C3B12 #283C12 #133C12
triadic
#283C12 #12283C #3C1228
tetradic
#283C12 #123C3B #26123C #3C1213
square
#283C12 #123C3B #26123C #3C1213
split-complementary
#283C12 #12133C #3B123C
monochromatic
#101807 #101807 #283C12 #476B20 #679A2E

Accessibility & contrast

On white

12.03
#283C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#283C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C12
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C12#FFFFFF#000000##FFFFFF
##283C121.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F370D
Deuteranopia (green-blind)
#3C3615
Tritanopia (blue-blind)
#293933
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #283c12;
/* rgb */ color: rgb(40, 60, 18);
/* oklch */ color: oklch(32.8% 0.070 130.9);
Tailwind
colors: {
  custom: {
    50: '#647252',
    500: '#283c12',
    950: '#000000',
  },
}
SCSS
$custom: #283c12;
$custom-light: #647252;
$custom-dark: #000000;
JSON
{
  "hex": "#283c12",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 18
  },
  "hsl": {
    "h": 88.571,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.32844,
    "c": 0.07011,
    "h": 130.9
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#283C12
secondary
#533575
accent
#4BDD90
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #283C12

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

Preview Lab → · Contrast checker → · Palette generator →

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