#283F1B#283F1B

#283F1B is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.9% C 0.065 H 135.4°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#283F1B
RGBrgb(40, 63, 27)
HSLhsl(98, 40%, 18%)
HSVhsv(98, 57%, 25%)
CMYKcmyk(36.5%, 0%, 57.1%, 75.3%)
CIE-LABlab(23.95, -16.86, 19.14)
CIE-LCHlch(23.95, 25.51, 131.38°)
OKLaboklab(33.86% -0.0465 0.0459)
OKLCHoklch(33.86% 0.065 135.4)
XYZxyz(2.8503, 4.0852, 1.6750)
Luminance0.0408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F1B #321B3F
analogous
#3A3F1B #283F1B #1B3F20
triadic
#283F1B #1B283F #3F1B28
tetradic
#283F1B #1B3A3F #321B3F #3F201B
square
#283F1B #1B3A3F #321B3F #3F201B
split-complementary
#283F1B #201B3F #3F1B3A
monochromatic
#0E1509 #0E1509 #283F1B #436A2D #5E9540

Accessibility & contrast

On white

11.56
#283F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#283F1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F1B
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F1B#FFFFFF#000000##FFFFFF
##283F1B1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A18
Deuteranopia (green-blind)
#3E381D
Tritanopia (blue-blind)
#283D37
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283f1b;
/* rgb */ color: rgb(40, 63, 27);
/* oklch */ color: oklch(33.9% 0.065 135.4);
Tailwind
colors: {
  custom: {
    50: '#637458',
    500: '#283f1b',
    950: '#000000',
  },
}
SCSS
$custom: #283f1b;
$custom-light: #637458;
$custom-dark: #000000;
JSON
{
  "hex": "#283f1b",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 27
  },
  "hsl": {
    "h": 98.333,
    "s": 40,
    "l": 17.647
  },
  "oklch": {
    "l": 0.33861,
    "c": 0.06533,
    "h": 135.4
  },
  "luminance": 0.04085
}

Semantic roles & 50–950 ramp

primary
#283F1B
secondary
#624174
accent
#58D0A5
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050803
muted
#7A7B78

Preview Lab

Preview with #283F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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