#248728#248728

#248728 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.159 H 143.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#248728
RGBrgb(36, 135, 40)
HSLhsl(122, 58%, 34%)
HSVhsv(122, 73%, 53%)
CMYKcmyk(73.3%, 0%, 70.4%, 47.1%)
CIE-LABlab(49.32, -47.30, 41.30)
CIE-LCHlch(49.32, 62.79, 138.88°)
OKLaboklab(54.75% -0.1282 0.0948)
OKLCHoklch(54.75% 0.159 143.5)
XYZxyz(9.7739, 17.8551, 4.9384)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#248728 #872483
analogous
#518724 #248728 #248759
triadic
#248728 #282487 #872824
tetradic
#248728 #245187 #872483 #875924
square
#248728 #245187 #872483 #875924
split-complementary
#248728 #592487 #872451
monochromatic
#0A260B #17571A #248728 #31B736 #54D159

Accessibility & contrast

On white

4.59
#248728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#248728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #248728
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##248728#FFFFFF#000000##FFFFFF
##2487281.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1A
Deuteranopia (green-blind)
#7E7231
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #248728;
/* rgb */ color: rgb(36, 135, 40);
/* oklch */ color: oklch(54.8% 0.159 143.5);
Tailwind
colors: {
  custom: {
    50: '#6fab67',
    500: '#248728',
    950: '#000000',
  },
}
SCSS
$custom: #248728;
$custom-light: #6fab67;
$custom-dark: #000000;
JSON
{
  "hex": "#248728",
  "rgb": {
    "r": 36,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 122.424,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5475,
    "c": 0.15946,
    "h": 143.5
  },
  "luminance": 0.17856
}

Semantic roles & 50–950 ramp

primary
#248728
secondary
#B551B1
accent
#47DBE1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #248728

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

Preview Lab → · Contrast checker → · Palette generator →

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