#288125#288125

#288125 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.153 H 142.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#288125
RGBrgb(40, 129, 37)
HSLhsl(118, 55%, 33%)
HSVhsv(118, 71%, 51%)
CMYKcmyk(69%, 0%, 71.3%, 49.4%)
CIE-LABlab(47.35, -44.65, 40.50)
CIE-LCHlch(47.35, 60.28, 137.79°)
OKLaboklab(53.13% -0.1214 0.0928)
OKLCHoklch(53.13% 0.153 142.6)
XYZxyz(9.0587, 16.2843, 4.4157)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288125 #7E2581
analogous
#568125 #288125 #258150
triadic
#288125 #252881 #812528
tetradic
#288125 #255681 #7E2581 #815025
square
#288125 #255681 #7E2581 #815025
split-complementary
#288125 #502581 #812556
monochromatic
#0B220A #195117 #288125 #37B133 #57CE53

Accessibility & contrast

On white

4.93
#288125 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#288125 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288125
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288125#FFFFFF#000000##FFFFFF
##2881251.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847517
Deuteranopia (green-blind)
#796E2E
Tritanopia (blue-blind)
#137D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #288125;
/* rgb */ color: rgb(40, 129, 37);
/* oklch */ color: oklch(53.1% 0.153 142.6);
Tailwind
colors: {
  custom: {
    50: '#6fa665',
    500: '#288125',
    950: '#000000',
  },
}
SCSS
$custom: #288125;
$custom-light: #6fa665;
$custom-dark: #000000;
JSON
{
  "hex": "#288125",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 118.043,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53133,
    "c": 0.15278,
    "h": 142.6
  },
  "luminance": 0.16285
}

Semantic roles & 50–950 ramp

primary
#288125
secondary
#AF50B2
accent
#49DFDA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #288125

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

Preview Lab → · Contrast checker → · Palette generator →

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