#283F17#283F17

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

Color values

HEX#283F17
RGBrgb(40, 63, 23)
HSLhsl(95, 47%, 17%)
HSVhsv(95, 63%, 25%)
CMYKcmyk(36.5%, 0%, 63.5%, 75.3%)
CIE-LABlab(23.89, -17.41, 21.40)
CIE-LCHlch(23.89, 27.59, 129.12°)
OKLaboklab(33.8% -0.0483 0.0505)
OKLCHoklch(33.8% 0.07 133.7)
XYZxyz(2.8072, 4.0679, 1.4477)
Luminance0.0407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F17 #2E173F
analogous
#3C3F17 #283F17 #173F1A
triadic
#283F17 #17283F #3F1728
tetradic
#283F17 #173C3F #2E173F #3F1A17
square
#283F17 #173C3F #2E173F #3F1A17
split-complementary
#283F17 #1A173F #3F173C
monochromatic
#0E1608 #0E1608 #283F17 #446C27 #619938

Accessibility & contrast

On white

11.58
#283F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#283F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F17
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F17#FFFFFF#000000##FFFFFF
##283F171.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A13
Deuteranopia (green-blind)
#3E381A
Tritanopia (blue-blind)
#283C36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283f17;
/* rgb */ color: rgb(40, 63, 23);
/* oklch */ color: oklch(33.8% 0.070 133.7);
Tailwind
colors: {
  custom: {
    50: '#647455',
    500: '#283f17',
    950: '#000000',
  },
}
SCSS
$custom: #283f17;
$custom-light: #647455;
$custom-dark: #000000;
JSON
{
  "hex": "#283f17",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 23
  },
  "hsl": {
    "h": 94.5,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.33797,
    "c": 0.06988,
    "h": 133.7
  },
  "luminance": 0.04068
}

Semantic roles & 50–950 ramp

primary
#283F17
secondary
#5D3C76
accent
#52D69E
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050803
muted
#7A7B78

Preview Lab

Preview with #283F17

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

Preview Lab → · Contrast checker → · Palette generator →

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