#248A42#248A42

#248A42 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.142 H 148.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#248A42
RGBrgb(36, 138, 66)
HSLhsl(138, 59%, 34%)
HSVhsv(138, 74%, 54%)
CMYKcmyk(73.9%, 0%, 52.2%, 45.9%)
CIE-LABlab(50.62, -45.00, 30.27)
CIE-LCHlch(50.62, 54.23, 146.07°)
OKLaboklab(55.92% -0.1211 0.0733)
OKLCHoklch(55.92% 0.142 148.8)
XYZxyz(10.7986, 18.9442, 8.2407)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#248A42 #8A246C
analogous
#398A24 #248A42 #248A75
triadic
#248A42 #42248A #8A4224
tetradic
#248A42 #24398A #8A246C #8A7524
square
#248A42 #24398A #8A246C #8A7524
split-complementary
#248A42 #75248A #8A2439
monochromatic
#0B2914 #17592B #248A42 #31BB59 #56D37A

Accessibility & contrast

On white

4.39
#248A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#248A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #248A42
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##248A42#FFFFFF#000000##000000
##248A421.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E3C
Deuteranopia (green-blind)
#7F7547
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #248a42;
/* rgb */ color: rgb(36, 138, 66);
/* oklch */ color: oklch(55.9% 0.142 148.8);
Tailwind
colors: {
  custom: {
    50: '#6ead78',
    500: '#248a42',
    950: '#000000',
  },
}
SCSS
$custom: #248a42;
$custom-light: #6ead78;
$custom-dark: #000000;
JSON
{
  "hex": "#248a42",
  "rgb": {
    "r": 36,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 137.647,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55921,
    "c": 0.14152,
    "h": 148.8
  },
  "luminance": 0.18945
}

Semantic roles & 50–950 ramp

primary
#248A42
secondary
#B7539A
accent
#46B4E2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #248A42

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

Preview Lab → · Contrast checker → · Palette generator →

#248A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva