#283B15#283B15

#283B15 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.065 H 131.3°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#283B15
RGBrgb(40, 59, 21)
HSLhsl(90, 48%, 16%)
HSVhsv(90, 64%, 23%)
CMYKcmyk(32.2%, 0%, 64.4%, 76.9%)
CIE-LABlab(22.42, -15.44, 20.82)
CIE-LCHlch(22.42, 25.93, 126.56°)
OKLaboklab(32.59% -0.0431 0.049)
OKLCHoklch(32.59% 0.065 131.3)
XYZxyz(2.5744, 3.6331, 1.2749)
Luminance0.0363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B15 #28153B
analogous
#3B3B15 #283B15 #153B15
triadic
#283B15 #15283B #3B1528
tetradic
#283B15 #153B3B #28153B #3B1515
square
#283B15 #153B3B #28153B #3B1515
split-complementary
#283B15 #15153B #3B153B
monochromatic
#0F1708 #0F1708 #283B15 #476825 #659535

Accessibility & contrast

On white

12.16
#283B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#283B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B15
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B15#FFFFFF#000000##FFFFFF
##283B151.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3711
Deuteranopia (green-blind)
#3B3518
Tritanopia (blue-blind)
#293833
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #283b15;
/* rgb */ color: rgb(40, 59, 21);
/* oklch */ color: oklch(32.6% 0.065 131.3);
Tailwind
colors: {
  custom: {
    50: '#637154',
    500: '#283b15',
    950: '#000000',
  },
}
SCSS
$custom: #283b15;
$custom-light: #637154;
$custom-dark: #000000;
JSON
{
  "hex": "#283b15",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 21
  },
  "hsl": {
    "h": 90,
    "s": 47.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.32591,
    "c": 0.06526,
    "h": 131.3
  },
  "luminance": 0.03633
}

Semantic roles & 50–950 ramp

primary
#283B15
secondary
#563972
accent
#51D794
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #283B15

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

Preview Lab → · Contrast checker → · Palette generator →

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