#283D11#283D11

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

Color values

HEX#283D11
RGBrgb(40, 61, 17)
HSLhsl(89, 56%, 15%)
HSVhsv(89, 72%, 24%)
CMYKcmyk(34.4%, 0%, 72.1%, 76.1%)
CIE-LABlab(23.10, -17.01, 23.79)
CIE-LCHlch(23.10, 29.24, 125.56°)
OKLaboklab(33.13% -0.0478 0.0548)
OKLCHoklch(33.13% 0.073 131.1)
XYZxyz(2.6450, 3.8290, 1.1299)
Luminance0.0383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D11 #26113D
analogous
#3D3C11 #283D11 #123D11
triadic
#283D11 #11283D #3D1128
tetradic
#283D11 #113D3C #26113D #3D1112
square
#283D11 #113D3C #26113D #3D1112
split-complementary
#283D11 #11123D #3C113D
monochromatic
#101807 #101807 #283D11 #476D1E #679D2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283D11#FFFFFF#000000##FFFFFF
##283D111.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)
#40380C
Deuteranopia (green-blind)
#3D3714
Tritanopia (blue-blind)
#293A34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283d11;
/* rgb */ color: rgb(40, 61, 17);
/* oklch */ color: oklch(33.1% 0.073 131.1);
Tailwind
colors: {
  custom: {
    50: '#647251',
    500: '#283d11',
    950: '#000000',
  },
}
SCSS
$custom: #283d11;
$custom-light: #647251;
$custom-dark: #000000;
JSON
{
  "hex": "#283d11",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 17
  },
  "hsl": {
    "h": 88.636,
    "s": 56.41,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33127,
    "c": 0.07274,
    "h": 131.1
  },
  "luminance": 0.03829
}

Semantic roles & 50–950 ramp

primary
#283D11
secondary
#533376
accent
#48E090
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #283D11

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

Preview Lab → · Contrast checker → · Palette generator →

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