#283B11#283B11

#283B11 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.5% C 0.069 H 130.1°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#283B11
RGBrgb(40, 59, 17)
HSLhsl(87, 55%, 15%)
HSVhsv(87, 71%, 23%)
CMYKcmyk(32.2%, 0%, 71.2%, 76.9%)
CIE-LABlab(22.37, -15.90, 22.99)
CIE-LCHlch(22.37, 27.95, 124.67°)
OKLaboklab(32.54% -0.0447 0.0531)
OKLCHoklch(32.54% 0.069 130.1)
XYZxyz(2.5402, 3.6194, 1.0950)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B11 #24113B
analogous
#3B3911 #283B11 #133B11
triadic
#283B11 #11283B #3B1128
tetradic
#283B11 #113B39 #24113B #3B1113
square
#283B11 #113B39 #24113B #3B1113
split-complementary
#283B11 #11133B #39113B
monochromatic
#101807 #101807 #283B11 #486B1F #689A2C

Accessibility & contrast

On white

12.18
#283B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#283B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B11
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B11#FFFFFF#000000##FFFFFF
##283B111.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E360C
Deuteranopia (green-blind)
#3B3514
Tritanopia (blue-blind)
#293832
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283b11;
/* rgb */ color: rgb(40, 59, 17);
/* oklch */ color: oklch(32.5% 0.069 130.1);
Tailwind
colors: {
  custom: {
    50: '#647151',
    500: '#283b11',
    950: '#000000',
  },
}
SCSS
$custom: #283b11;
$custom-light: #647151;
$custom-dark: #000000;
JSON
{
  "hex": "#283b11",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 17
  },
  "hsl": {
    "h": 87.143,
    "s": 55.263,
    "l": 14.902
  },
  "oklch": {
    "l": 0.32537,
    "c": 0.06947,
    "h": 130.1
  },
  "luminance": 0.0362
}

Semantic roles & 50–950 ramp

primary
#283B11
secondary
#513374
accent
#49DF8D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #283B11

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

Preview Lab → · Contrast checker → · Palette generator →

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