#247E1F#247E1F

#247E1F is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.155 H 142.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#247E1F
RGBrgb(36, 126, 31)
HSLhsl(117, 61%, 31%)
HSVhsv(117, 75%, 49%)
CMYKcmyk(71.4%, 0%, 75.4%, 50.6%)
CIE-LABlab(46.17, -44.95, 41.70)
CIE-LCHlch(46.17, 61.31, 137.15°)
OKLaboklab(52.12% -0.1223 0.0945)
OKLCHoklch(52.12% 0.155 142.3)
XYZxyz(8.4352, 15.3948, 3.8230)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#247E1F #791F7E
analogous
#537E1F #247E1F #1F7E49
triadic
#247E1F #1F247E #7E1F24
tetradic
#247E1F #1F537E #791F7E #7E491F
square
#247E1F #1F537E #791F7E #7E491F
split-complementary
#247E1F #491F7E #7E1F53
monochromatic
#081C07 #164D13 #247E1F #32AF2B #4DD146

Accessibility & contrast

On white

5.15
#247E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#247E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #247E1F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##247E1F#FFFFFF#000000##FFFFFF
##247E1F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720E
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#0C7A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #247e1f;
/* rgb */ color: rgb(36, 126, 31);
/* oklch */ color: oklch(52.1% 0.155 142.3);
Tailwind
colors: {
  custom: {
    50: '#6da461',
    500: '#247e1f',
    950: '#000000',
  },
}
SCSS
$custom: #247e1f;
$custom-light: #6da461;
$custom-dark: #000000;
JSON
{
  "hex": "#247e1f",
  "rgb": {
    "r": 36,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 116.842,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52116,
    "c": 0.15455,
    "h": 142.3
  },
  "luminance": 0.15396
}

Semantic roles & 50–950 ramp

primary
#247E1F
secondary
#AC48B1
accent
#44E4DB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #247E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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