#283F1A#283F1A

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

Color values

HEX#283F1A
RGBrgb(40, 63, 26)
HSLhsl(97, 42%, 17%)
HSVhsv(97, 59%, 25%)
CMYKcmyk(36.5%, 0%, 58.7%, 75.3%)
CIE-LABlab(23.94, -17.00, 19.71)
CIE-LCHlch(23.94, 26.03, 130.78°)
OKLaboklab(33.85% -0.0469 0.0471)
OKLCHoklch(33.85% 0.067 134.9)
XYZxyz(2.8390, 4.0806, 1.6151)
Luminance0.0408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F1A #311A3F
analogous
#3B3F1A #283F1A #1A3F1E
triadic
#283F1A #1A283F #3F1A28
tetradic
#283F1A #1A3B3F #311A3F #3F1E1A
square
#283F1A #1A3B3F #311A3F #3F1E1A
split-complementary
#283F1A #1E1A3F #3F1A3B
monochromatic
#0E1609 #0E1609 #283F1A #446A2C #5F963E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283F1A#FFFFFF#000000##FFFFFF
##283F1A1.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)
#413A17
Deuteranopia (green-blind)
#3E381C
Tritanopia (blue-blind)
#283D37
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283f1a;
/* rgb */ color: rgb(40, 63, 26);
/* oklch */ color: oklch(33.8% 0.067 134.9);
Tailwind
colors: {
  custom: {
    50: '#637457',
    500: '#283f1a',
    950: '#000000',
  },
}
SCSS
$custom: #283f1a;
$custom-light: #637457;
$custom-dark: #000000;
JSON
{
  "hex": "#283f1a",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 26
  },
  "hsl": {
    "h": 97.297,
    "s": 41.573,
    "l": 17.451
  },
  "oklch": {
    "l": 0.33845,
    "c": 0.0665,
    "h": 134.9
  },
  "luminance": 0.04081
}

Semantic roles & 50–950 ramp

primary
#283F1A
secondary
#614075
accent
#56D1A3
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050803
muted
#7A7B78

Preview Lab

Preview with #283F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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