#288254#288254

#288254 is a mid, moderate green. Relative luminance 0.171; OKLCH L 54.2% C 0.111 H 156.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#288254
RGBrgb(40, 130, 84)
HSLhsl(149, 53%, 33%)
HSVhsv(149, 69%, 51%)
CMYKcmyk(69.2%, 0%, 35.4%, 49%)
CIE-LABlab(48.33, -37.70, 17.41)
CIE-LCHlch(48.33, 41.52, 155.21°)
OKLaboklab(54.16% -0.1023 0.0439)
OKLCHoklch(54.16% 0.111 156.8)
XYZxyz(10.4570, 17.0553, 11.1267)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288254 #822856
analogous
#298228 #288254 #288281
triadic
#288254 #542882 #825428
tetradic
#288254 #282982 #822856 #828128
square
#288254 #282982 #822856 #828128
split-complementary
#288254 #812882 #822829
monochromatic
#0B2418 #1A5336 #288254 #36B172 #59CC91

Accessibility & contrast

On white

4.76
#288254 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#288254 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288254
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288254#FFFFFF#000000##FFFFFF
##2882541.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817851
Deuteranopia (green-blind)
#766F57
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #288254;
/* rgb */ color: rgb(40, 130, 84);
/* oklch */ color: oklch(54.2% 0.111 156.8);
Tailwind
colors: {
  custom: {
    50: '#6ea784',
    500: '#288254',
    950: '#000000',
  },
}
SCSS
$custom: #288254;
$custom-light: #6ea784;
$custom-dark: #000000;
JSON
{
  "hex": "#288254",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 84
  },
  "hsl": {
    "h": 149.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54156,
    "c": 0.11127,
    "h": 156.8
  },
  "luminance": 0.17056
}

Semantic roles & 50–950 ramp

primary
#288254
secondary
#B15584
accent
#4B96DC
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #288254

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

Preview Lab → · Contrast checker → · Palette generator →

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