#283A13#283A13

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

Color values

HEX#283A13
RGBrgb(40, 58, 19)
HSLhsl(88, 51%, 15%)
HSVhsv(88, 67%, 23%)
CMYKcmyk(31%, 0%, 67.2%, 77.3%)
CIE-LABlab(22.03, -15.12, 21.51)
CIE-LCHlch(22.03, 26.29, 125.11°)
OKLaboklab(32.27% -0.0424 0.0503)
OKLCHoklch(32.27% 0.066 130.1)
XYZxyz(2.5056, 3.5242, 1.1642)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A13 #25133A
analogous
#3A3813 #283A13 #153A13
triadic
#283A13 #13283A #3A1328
tetradic
#283A13 #133A38 #25133A #3A1315
square
#283A13 #133A38 #25133A #3A1315
split-complementary
#283A13 #13153A #38133A
monochromatic
#101708 #101708 #283A13 #486822 #689631

Accessibility & contrast

On white

12.32
#283A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#283A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A13
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A13#FFFFFF#000000##FFFFFF
##283A131.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D360F
Deuteranopia (green-blind)
#3A3416
Tritanopia (blue-blind)
#293732
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283a13;
/* rgb */ color: rgb(40, 58, 19);
/* oklch */ color: oklch(32.3% 0.066 130.1);
Tailwind
colors: {
  custom: {
    50: '#637052',
    500: '#283a13',
    950: '#000000',
  },
}
SCSS
$custom: #283a13;
$custom-light: #637052;
$custom-dark: #000000;
JSON
{
  "hex": "#283a13",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 19
  },
  "hsl": {
    "h": 87.692,
    "s": 50.649,
    "l": 15.098
  },
  "oklch": {
    "l": 0.32269,
    "c": 0.06575,
    "h": 130.1
  },
  "luminance": 0.03524
}

Semantic roles & 50–950 ramp

primary
#283A13
secondary
#523672
accent
#4EDA8E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #283A13

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

Preview Lab → · Contrast checker → · Palette generator →

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