#283B14#283B14

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

Color values

HEX#283B14
RGBrgb(40, 59, 20)
HSLhsl(89, 49%, 15%)
HSVhsv(89, 66%, 23%)
CMYKcmyk(32.2%, 0%, 66.1%, 76.9%)
CIE-LABlab(22.41, -15.56, 21.38)
CIE-LCHlch(22.41, 26.44, 126.06°)
OKLaboklab(32.58% -0.0435 0.0501)
OKLCHoklch(32.58% 0.066 131)
XYZxyz(2.5653, 3.6295, 1.2271)
Luminance0.0363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B14 #27143B
analogous
#3B3A14 #283B14 #143B14
triadic
#283B14 #14283B #3B1428
tetradic
#283B14 #143B3A #27143B #3B1414
square
#283B14 #143B3A #27143B #3B1414
split-complementary
#283B14 #14143B #3A143B
monochromatic
#0F1708 #0F1708 #283B14 #476923 #669633

Accessibility & contrast

On white

12.17
#283B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283B14
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B14#FFFFFF#000000##FFFFFF
##283B141.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3610
Deuteranopia (green-blind)
#3B3517
Tritanopia (blue-blind)
#293832
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #283b14;
/* rgb */ color: rgb(40, 59, 20);
/* oklch */ color: oklch(32.6% 0.066 131.0);
Tailwind
colors: {
  custom: {
    50: '#637153',
    500: '#283b14',
    950: '#000000',
  },
}
SCSS
$custom: #283b14;
$custom-light: #637153;
$custom-dark: #000000;
JSON
{
  "hex": "#283b14",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 20
  },
  "hsl": {
    "h": 89.231,
    "s": 49.367,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32577,
    "c": 0.06636,
    "h": 131
  },
  "luminance": 0.0363
}

Semantic roles & 50–950 ramp

primary
#283B14
secondary
#553873
accent
#4FD992
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #283B14

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

Preview Lab → · Contrast checker → · Palette generator →

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