#283F25#283F25

#283F25 is a dark, muted green. Relative luminance 0.041; OKLCH L 34.1% C 0.053 H 141.6°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#283F25
RGBrgb(40, 63, 37)
HSLhsl(113, 26%, 20%)
HSVhsv(113, 41%, 25%)
CMYKcmyk(36.5%, 0%, 41.3%, 75.3%)
CIE-LABlab(24.13, -15.19, 13.17)
CIE-LCHlch(24.13, 20.11, 139.06°)
OKLaboklab(34.06% -0.0414 0.0328)
OKLCHoklch(34.06% 0.053 141.6)
XYZxyz(2.9864, 4.1396, 2.3916)
Luminance0.0414 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F25 #3C253F
analogous
#353F25 #283F25 #253F2F
triadic
#283F25 #25283F #3F2528
tetradic
#283F25 #25353F #3C253F #3F2F25
square
#283F25 #25353F #3C253F #3F2F25
split-complementary
#283F25 #2F253F #3F2535
monochromatic
#0C130B #10180E #283F25 #40663C #598C52

Accessibility & contrast

On white

11.49
#283F25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#283F25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F25
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F25#FFFFFF#000000##FFFFFF
##283F251.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B23
Deuteranopia (green-blind)
#3D3926
Tritanopia (blue-blind)
#263D38
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283f25;
/* rgb */ color: rgb(40, 63, 37);
/* oklch */ color: oklch(34.1% 0.053 141.6);
Tailwind
colors: {
  custom: {
    50: '#63745f',
    500: '#283f25',
    950: '#000000',
  },
}
SCSS
$custom: #283f25;
$custom-light: #63745f;
$custom-dark: #000000;
JSON
{
  "hex": "#283f25",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 37
  },
  "hsl": {
    "h": 113.077,
    "s": 26,
    "l": 19.608
  },
  "oklch": {
    "l": 0.34062,
    "c": 0.05285,
    "h": 141.6
  },
  "luminance": 0.0414
}

Semantic roles & 50–950 ramp

primary
#283F25
secondary
#6D4E71
accent
#65C2B8
background
#F5F7F5
surface
#EAEDE9
border
#C6C8C5
text
#050804
muted
#797B79

Preview Lab

Preview with #283F25

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

Preview Lab → · Contrast checker → · Palette generator →

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