#288534#288534

#288534 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.146 H 145.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#288534
RGBrgb(40, 133, 52)
HSLhsl(128, 54%, 34%)
HSVhsv(128, 70%, 52%)
CMYKcmyk(69.9%, 0%, 60.9%, 47.8%)
CIE-LABlab(48.85, -44.42, 35.28)
CIE-LCHlch(48.85, 56.73, 141.54°)
OKLaboklab(54.43% -0.12 0.0833)
OKLCHoklch(54.43% 0.146 145.3)
XYZxyz(9.8818, 17.4731, 6.1000)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288534 #852879
analogous
#4B8528 #288534 #288563
triadic
#288534 #342885 #853428
tetradic
#288534 #284B85 #852879 #856328
square
#288534 #284B85 #852879 #856328
split-complementary
#288534 #632885 #85284B
monochromatic
#0C270F #1A5622 #288534 #36B446 #5ACD69

Accessibility & contrast

On white

4.67
#288534 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#288534 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288534
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288534#FFFFFF#000000##FFFFFF
##2885341.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87792C
Deuteranopia (green-blind)
#7C713B
Tritanopia (blue-blind)
#088273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #288534;
/* rgb */ color: rgb(40, 133, 52);
/* oklch */ color: oklch(54.4% 0.146 145.3);
Tailwind
colors: {
  custom: {
    50: '#6fa96e',
    500: '#288534',
    950: '#000000',
  },
}
SCSS
$custom: #288534;
$custom-light: #6fa96e;
$custom-dark: #000000;
JSON
{
  "hex": "#288534",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 52
  },
  "hsl": {
    "h": 127.742,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54426,
    "c": 0.14611,
    "h": 145.3
  },
  "luminance": 0.17474
}

Semantic roles & 50–950 ramp

primary
#288534
secondary
#B356A7
accent
#4BCADD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #288534

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

Preview Lab → · Contrast checker → · Palette generator →

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