#283D14#283D14

#283D14 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.2% C 0.070 H 131.9°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#283D14
RGBrgb(40, 61, 20)
HSLhsl(91, 51%, 16%)
HSVhsv(91, 67%, 24%)
CMYKcmyk(34.4%, 0%, 67.2%, 76.1%)
CIE-LABlab(23.13, -16.68, 22.21)
CIE-LCHlch(23.13, 27.77, 126.91°)
OKLaboklab(33.17% -0.0466 0.0519)
OKLCHoklch(33.17% 0.07 131.9)
XYZxyz(2.6700, 3.8390, 1.2620)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D14 #29143D
analogous
#3C3D14 #283D14 #143D14
triadic
#283D14 #14283D #3D1428
tetradic
#283D14 #143C3D #29143D #3D1414
square
#283D14 #143C3D #29143D #3D1414
split-complementary
#283D14 #14143D #3D143C
monochromatic
#0F1708 #0F1708 #283D14 #466B23 #649932

Accessibility & contrast

On white

11.88
#283D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283D14
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D14#FFFFFF#000000##FFFFFF
##283D141.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403810
Deuteranopia (green-blind)
#3D3717
Tritanopia (blue-blind)
#293A34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283d14;
/* rgb */ color: rgb(40, 61, 20);
/* oklch */ color: oklch(33.2% 0.070 131.9);
Tailwind
colors: {
  custom: {
    50: '#647253',
    500: '#283d14',
    950: '#000000',
  },
}
SCSS
$custom: #283d14;
$custom-light: #647253;
$custom-dark: #000000;
JSON
{
  "hex": "#283d14",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 20
  },
  "hsl": {
    "h": 90.732,
    "s": 50.617,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33166,
    "c": 0.06972,
    "h": 131.9
  },
  "luminance": 0.03839
}

Semantic roles & 50–950 ramp

primary
#283D14
secondary
#573875
accent
#4EDA96
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #283D14

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

Preview Lab → · Contrast checker → · Palette generator →

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