#288317#288317

#288317 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.163 H 141.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#288317
RGBrgb(40, 131, 23)
HSLhsl(111, 70%, 30%)
HSVhsv(111, 82%, 51%)
CMYKcmyk(69.5%, 0%, 82.4%, 48.6%)
CIE-LABlab(47.94, -46.47, 46.28)
CIE-LCHlch(47.94, 65.58, 135.12°)
OKLaboklab(53.59% -0.1271 0.1028)
OKLCHoklch(53.59% 0.163 141)
XYZxyz(9.1455, 16.7446, 3.5605)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288317 #721783
analogous
#5E8317 #288317 #17833C
triadic
#288317 #172883 #831728
tetradic
#288317 #175E83 #721783 #833C17
square
#288317 #175E83 #721783 #833C17
split-complementary
#288317 #3C1783 #83175E
monochromatic
#081B05 #184F0E #288317 #38B720 #52DC38

Accessibility & contrast

On white

4.83
#288317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#288317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288317
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288317#FFFFFF#000000##FFFFFF
##2883171.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#157F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288317;
/* rgb */ color: rgb(40, 131, 23);
/* oklch */ color: oklch(53.6% 0.163 141.0);
Tailwind
colors: {
  custom: {
    50: '#70a85e',
    500: '#288317',
    950: '#000000',
  },
}
SCSS
$custom: #288317;
$custom-light: #70a85e;
$custom-dark: #000000;
JSON
{
  "hex": "#288317",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 110.556,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53594,
    "c": 0.16347,
    "h": 141
  },
  "luminance": 0.16746
}

Semantic roles & 50–950 ramp

primary
#288317
secondary
#A43FB7
accent
#3BEDD1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #288317

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

Preview Lab → · Contrast checker → · Palette generator →

#288317 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva