#283814#283814

#283814 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.7% C 0.061 H 129.3°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#283814
RGBrgb(40, 56, 20)
HSLhsl(87, 47%, 15%)
HSVhsv(87, 64%, 22%)
CMYKcmyk(28.6%, 0%, 64.3%, 78%)
CIE-LABlab(21.32, -13.86, 20.12)
CIE-LCHlch(21.32, 24.43, 124.56°)
OKLaboklab(31.7% -0.0388 0.0474)
OKLCHoklch(31.7% 0.061 129.3)
XYZxyz(2.4155, 3.3299, 1.1772)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283814 #241438
analogous
#383614 #283814 #163814
triadic
#283814 #142838 #381428
tetradic
#283814 #143836 #241438 #381416
square
#283814 #143836 #241438 #381416
split-complementary
#283814 #141638 #361438
monochromatic
#101708 #101708 #283814 #486524 #689234

Accessibility & contrast

On white

12.61
#283814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283814
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283814#FFFFFF#000000##FFFFFF
##2838141.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3410
Deuteranopia (green-blind)
#393316
Tritanopia (blue-blind)
#293530
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #283814;
/* rgb */ color: rgb(40, 56, 20);
/* oklch */ color: oklch(31.7% 0.061 129.3);
Tailwind
colors: {
  custom: {
    50: '#636e53',
    500: '#283814',
    950: '#000000',
  },
}
SCSS
$custom: #283814;
$custom-light: #636e53;
$custom-dark: #000000;
JSON
{
  "hex": "#283814",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 20
  },
  "hsl": {
    "h": 86.667,
    "s": 47.368,
    "l": 14.902
  },
  "oklch": {
    "l": 0.31696,
    "c": 0.06123,
    "h": 129.3
  },
  "luminance": 0.0333
}

Semantic roles & 50–950 ramp

primary
#283814
secondary
#513870
accent
#51D78C
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050702
muted
#797A78

Preview Lab

Preview with #283814

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

Preview Lab → · Contrast checker → · Palette generator →

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