#283A15#283A15

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

Color values

HEX#283A15
RGBrgb(40, 58, 21)
HSLhsl(89, 47%, 15%)
HSVhsv(89, 64%, 23%)
CMYKcmyk(31%, 0%, 63.8%, 77.3%)
CIE-LABlab(22.06, -14.88, 20.40)
CIE-LCHlch(22.06, 25.25, 126.10°)
OKLaboklab(32.3% -0.0415 0.0481)
OKLCHoklch(32.3% 0.064 130.8)
XYZxyz(2.5235, 3.5313, 1.2580)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A15 #27153A
analogous
#3A3915 #283A15 #163A15
triadic
#283A15 #15283A #3A1528
tetradic
#283A15 #153A39 #27153A #3A1516
square
#283A15 #153A39 #27153A #3A1516
split-complementary
#283A15 #15163A #39153A
monochromatic
#0F1608 #0F1608 #283A15 #476725 #669436

Accessibility & contrast

On white

12.31
#283A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283A15
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A15#FFFFFF#000000##FFFFFF
##283A151.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283a15;
/* rgb */ color: rgb(40, 58, 21);
/* oklch */ color: oklch(32.3% 0.064 130.8);
Tailwind
colors: {
  custom: {
    50: '#637053',
    500: '#283a15',
    950: '#000000',
  },
}
SCSS
$custom: #283a15;
$custom-light: #637053;
$custom-dark: #000000;
JSON
{
  "hex": "#283a15",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 21
  },
  "hsl": {
    "h": 89.189,
    "s": 46.835,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32298,
    "c": 0.06355,
    "h": 130.8
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#283A15
secondary
#553971
accent
#51D692
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #283A15

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

Preview Lab → · Contrast checker → · Palette generator →

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