#283F19#283F19

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

Color values

HEX#283F19
RGBrgb(40, 63, 25)
HSLhsl(96, 43%, 17%)
HSVhsv(96, 60%, 25%)
CMYKcmyk(36.5%, 0%, 60.3%, 75.3%)
CIE-LABlab(23.92, -17.14, 20.28)
CIE-LCHlch(23.92, 26.56, 130.20°)
OKLaboklab(33.83% -0.0474 0.0483)
OKLCHoklch(33.83% 0.068 134.5)
XYZxyz(2.8280, 4.0762, 1.5573)
Luminance0.0408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F19 #30193F
analogous
#3B3F19 #283F19 #193F1D
triadic
#283F19 #19283F #3F1928
tetradic
#283F19 #193B3F #30193F #3F1D19
square
#283F19 #193B3F #30193F #3F1D19
split-complementary
#283F19 #1D193F #3F193B
monochromatic
#0E1609 #0E1609 #283F19 #446B2A #60973C

Accessibility & contrast

On white

11.57
#283F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283F19
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F19#FFFFFF#000000##FFFFFF
##283F191.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A15
Deuteranopia (green-blind)
#3E381C
Tritanopia (blue-blind)
#283D36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283f19;
/* rgb */ color: rgb(40, 63, 25);
/* oklch */ color: oklch(33.8% 0.068 134.5);
Tailwind
colors: {
  custom: {
    50: '#637457',
    500: '#283f19',
    950: '#000000',
  },
}
SCSS
$custom: #283f19;
$custom-light: #637457;
$custom-dark: #000000;
JSON
{
  "hex": "#283f19",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 25
  },
  "hsl": {
    "h": 96.316,
    "s": 43.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.33828,
    "c": 0.06764,
    "h": 134.5
  },
  "luminance": 0.04076
}

Semantic roles & 50–950 ramp

primary
#283F19
secondary
#603F75
accent
#55D3A1
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050803
muted
#7A7B78

Preview Lab

Preview with #283F19

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

Preview Lab → · Contrast checker → · Palette generator →

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