#248540#248540

#248540 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.137 H 148.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#248540
RGBrgb(36, 133, 64)
HSLhsl(137, 57%, 33%)
HSVhsv(137, 73%, 52%)
CMYKcmyk(72.9%, 0%, 51.9%, 47.8%)
CIE-LABlab(48.91, -43.42, 29.20)
CIE-LCHlch(48.91, 52.32, 146.08°)
OKLaboklab(54.5% -0.1169 0.0707)
OKLCHoklch(54.5% 0.137 148.8)
XYZxyz(10.0397, 17.5192, 7.7019)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#248540 #852469
analogous
#388524 #248540 #248570
triadic
#248540 #402485 #854024
tetradic
#248540 #243885 #852469 #857024
square
#248540 #243885 #852469 #857024
split-complementary
#248540 #702485 #852438
monochromatic
#0A2512 #175529 #248540 #31B557 #53D077

Accessibility & contrast

On white

4.66
#248540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#248540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #248540
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##248540#FFFFFF#000000##FFFFFF
##2485401.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793A
Deuteranopia (green-blind)
#7B7145
Tritanopia (blue-blind)
#008275
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #248540;
/* rgb */ color: rgb(36, 133, 64);
/* oklch */ color: oklch(54.5% 0.137 148.8);
Tailwind
colors: {
  custom: {
    50: '#6da976',
    500: '#248540',
    950: '#000000',
  },
}
SCSS
$custom: #248540;
$custom-light: #6da976;
$custom-dark: #000000;
JSON
{
  "hex": "#248540",
  "rgb": {
    "r": 36,
    "g": 133,
    "b": 64
  },
  "hsl": {
    "h": 137.32,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54495,
    "c": 0.13662,
    "h": 148.8
  },
  "luminance": 0.1752
}

Semantic roles & 50–950 ramp

primary
#248540
secondary
#B45098
accent
#47B4E1
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #248540

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

Preview Lab → · Contrast checker → · Palette generator →

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