#283818#283818

#283818 is a dark, muted yellow-green. Relative luminance 0.033; OKLCH L 31.8% C 0.056 H 130.8°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#283818
RGBrgb(40, 56, 24)
HSLhsl(90, 40%, 16%)
HSVhsv(90, 57%, 22%)
CMYKcmyk(28.6%, 0%, 57.1%, 78%)
CIE-LABlab(21.38, -13.33, 17.81)
CIE-LCHlch(21.38, 22.24, 126.81°)
OKLaboklab(31.76% -0.0369 0.0427)
OKLCHoklch(31.76% 0.056 130.8)
XYZxyz(2.4541, 3.3454, 1.3804)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283818 #281838
analogous
#383818 #283818 #183818
triadic
#283818 #182838 #381828
tetradic
#283818 #183838 #281838 #381818
square
#283818 #183838 #281838 #381818
split-complementary
#283818 #181838 #381838
monochromatic
#0F1509 #0F1509 #283818 #47632A #658E3D

Accessibility & contrast

On white

12.58
#283818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#283818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283818
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283818#FFFFFF#000000##FFFFFF
##2838181.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3415
Deuteranopia (green-blind)
#38331A
Tritanopia (blue-blind)
#293631
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #283818;
/* rgb */ color: rgb(40, 56, 24);
/* oklch */ color: oklch(31.8% 0.056 130.8);
Tailwind
colors: {
  custom: {
    50: '#636e55',
    500: '#283818',
    950: '#000000',
  },
}
SCSS
$custom: #283818;
$custom-light: #636e55;
$custom-dark: #000000;
JSON
{
  "hex": "#283818",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 24
  },
  "hsl": {
    "h": 90,
    "s": 40,
    "l": 15.686
  },
  "oklch": {
    "l": 0.31761,
    "c": 0.05648,
    "h": 130.8
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#283818
secondary
#563E6E
accent
#58D094
background
#F5F6F5
surface
#EAECE9
border
#C6C7C5
text
#050703
muted
#797A78

Preview Lab

Preview with #283818

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

Preview Lab → · Contrast checker → · Palette generator →

#283818 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva