#283A16#283A16

#283A16 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.3% C 0.062 H 131.2°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#283A16
RGBrgb(40, 58, 22)
HSLhsl(90, 45%, 16%)
HSVhsv(90, 62%, 23%)
CMYKcmyk(31%, 0%, 62.1%, 77.3%)
CIE-LABlab(22.07, -14.75, 19.84)
CIE-LCHlch(22.07, 24.72, 126.64°)
OKLaboklab(32.31% -0.0411 0.047)
OKLCHoklch(32.31% 0.062 131.2)
XYZxyz(2.5329, 3.5351, 1.3078)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A16 #28163A
analogous
#3A3A16 #283A16 #163A16
triadic
#283A16 #16283A #3A1628
tetradic
#283A16 #163A3A #28163A #3A1616
square
#283A16 #163A3A #28163A #3A1616
split-complementary
#283A16 #16163A #3A163A
monochromatic
#0F1608 #0F1608 #283A16 #476627 #659338

Accessibility & contrast

On white

12.30
#283A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#283A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A16
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A16#FFFFFF#000000##FFFFFF
##283A161.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3613
Deuteranopia (green-blind)
#3A3418
Tritanopia (blue-blind)
#293832
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283a16;
/* rgb */ color: rgb(40, 58, 22);
/* oklch */ color: oklch(32.3% 0.062 131.2);
Tailwind
colors: {
  custom: {
    50: '#637054',
    500: '#283a16',
    950: '#000000',
  },
}
SCSS
$custom: #283a16;
$custom-light: #637054;
$custom-dark: #000000;
JSON
{
  "hex": "#283a16",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 22
  },
  "hsl": {
    "h": 90,
    "s": 45,
    "l": 15.686
  },
  "oklch": {
    "l": 0.32313,
    "c": 0.0624,
    "h": 131.2
  },
  "luminance": 0.03535
}

Semantic roles & 50–950 ramp

primary
#283A16
secondary
#563B71
accent
#53D594
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050703
muted
#797A78

Preview Lab

Preview with #283A16

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

Preview Lab → · Contrast checker → · Palette generator →

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