#247F31#247F31

#247F31 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.142 H 145.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#247F31
RGBrgb(36, 127, 49)
HSLhsl(129, 56%, 32%)
HSVhsv(129, 72%, 50%)
CMYKcmyk(71.7%, 0%, 61.4%, 50.2%)
CIE-LABlab(46.68, -43.36, 34.21)
CIE-LCHlch(46.68, 55.23, 141.73°)
OKLaboklab(52.59% -0.1171 0.0807)
OKLCHoklch(52.59% 0.142 145.4)
XYZxyz(8.8707, 15.7746, 5.4824)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#247F31 #7F2472
analogous
#457F24 #247F31 #247F5E
triadic
#247F31 #31247F #7F3124
tetradic
#247F31 #24457F #7F2472 #7F5E24
square
#247F31 #24457F #7F2472 #7F5E24
split-complementary
#247F31 #5E247F #7F2445
monochromatic
#09200C #164F1F #247F31 #32AF43 #50CD62

Accessibility & contrast

On white

5.05
#247F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#247F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #247F31
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##247F31#FFFFFF#000000##FFFFFF
##247F311.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817329
Deuteranopia (green-blind)
#766C37
Tritanopia (blue-blind)
#017C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #247f31;
/* rgb */ color: rgb(36, 127, 49);
/* oklch */ color: oklch(52.6% 0.142 145.4);
Tailwind
colors: {
  custom: {
    50: '#6ca56c',
    500: '#247f31',
    950: '#000000',
  },
}
SCSS
$custom: #247f31;
$custom-light: #6ca56c;
$custom-dark: #000000;
JSON
{
  "hex": "#247f31",
  "rgb": {
    "r": 36,
    "g": 127,
    "b": 49
  },
  "hsl": {
    "h": 128.571,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52589,
    "c": 0.14224,
    "h": 145.4
  },
  "luminance": 0.15776
}

Semantic roles & 50–950 ramp

primary
#247F31
secondary
#B14EA3
accent
#49CADF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #247F31

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

Preview Lab → · Contrast checker → · Palette generator →

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