#283D18#283D18

#283D18 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.2% C 0.065 H 133.3°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#283D18
RGBrgb(40, 61, 24)
HSLhsl(94, 44%, 17%)
HSVhsv(94, 61%, 24%)
CMYKcmyk(34.4%, 0%, 60.7%, 76.1%)
CIE-LABlab(23.18, -16.18, 19.99)
CIE-LCHlch(23.18, 25.71, 128.98°)
OKLaboklab(33.23% -0.0448 0.0475)
OKLCHoklch(33.23% 0.065 133.3)
XYZxyz(2.7086, 3.8545, 1.4652)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D18 #2D183D
analogous
#3B3D18 #283D18 #183D1B
triadic
#283D18 #18283D #3D1828
tetradic
#283D18 #183B3D #2D183D #3D1B18
square
#283D18 #183B3D #2D183D #3D1B18
split-complementary
#283D18 #1B183D #3D183B
monochromatic
#0E1609 #0E1609 #283D18 #456929 #62953B

Accessibility & contrast

On white

11.86
#283D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283D18
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D18#FFFFFF#000000##FFFFFF
##283D181.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3815
Deuteranopia (green-blind)
#3C371A
Tritanopia (blue-blind)
#283B35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283d18;
/* rgb */ color: rgb(40, 61, 24);
/* oklch */ color: oklch(33.2% 0.065 133.3);
Tailwind
colors: {
  custom: {
    50: '#637256',
    500: '#283d18',
    950: '#000000',
  },
}
SCSS
$custom: #283d18;
$custom-light: #637256;
$custom-dark: #000000;
JSON
{
  "hex": "#283d18",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 24
  },
  "hsl": {
    "h": 94.054,
    "s": 43.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.33225,
    "c": 0.06532,
    "h": 133.3
  },
  "luminance": 0.03855
}

Semantic roles & 50–950 ramp

primary
#283D18
secondary
#5C3D73
accent
#55D39C
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#050803
muted
#7A7B78

Preview Lab

Preview with #283D18

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

Preview Lab → · Contrast checker → · Palette generator →

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