#247F40#247F40

#247F40 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.128 H 149.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#247F40
RGBrgb(36, 127, 64)
HSLhsl(138, 56%, 32%)
HSVhsv(138, 72%, 50%)
CMYKcmyk(71.7%, 0%, 49.6%, 50.2%)
CIE-LABlab(46.87, -41.09, 26.65)
CIE-LCHlch(46.87, 48.97, 147.03°)
OKLaboklab(52.81% -0.1107 0.065)
OKLCHoklch(52.81% 0.128 149.6)
XYZxyz(9.2416, 15.9230, 7.4359)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#247F40 #7F2463
analogous
#357F24 #247F40 #247F6E
triadic
#247F40 #40247F #7F4024
tetradic
#247F40 #24357F #7F2463 #7F6E24
square
#247F40 #24357F #7F2463 #7F6E24
split-complementary
#247F40 #6E247F #7F2435
monochromatic
#092010 #164F28 #247F40 #32AF58 #50CD77

Accessibility & contrast

On white

5.02
#247F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#247F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #247F40
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##247F40#FFFFFF#000000##FFFFFF
##247F401.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743B
Deuteranopia (green-blind)
#756C44
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #247f40;
/* rgb */ color: rgb(36, 127, 64);
/* oklch */ color: oklch(52.8% 0.128 149.6);
Tailwind
colors: {
  custom: {
    50: '#6ca576',
    500: '#247f40',
    950: '#000000',
  },
}
SCSS
$custom: #247f40;
$custom-light: #6ca576;
$custom-dark: #000000;
JSON
{
  "hex": "#247f40",
  "rgb": {
    "r": 36,
    "g": 127,
    "b": 64
  },
  "hsl": {
    "h": 138.462,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52814,
    "c": 0.12833,
    "h": 149.6
  },
  "luminance": 0.15924
}

Semantic roles & 50–950 ramp

primary
#247F40
secondary
#B14E93
accent
#49B1DF
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #247F40

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

Preview Lab → · Contrast checker → · Palette generator →

#247F40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva