#247212#247212

#247212 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.147 H 140.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#247212
RGBrgb(36, 114, 18)
HSLhsl(109, 73%, 26%)
HSVhsv(109, 84%, 45%)
CMYKcmyk(68.4%, 0%, 84.2%, 55.3%)
CIE-LABlab(41.93, -41.57, 42.17)
CIE-LCHlch(41.93, 59.22, 134.59°)
OKLaboklab(48.57% -0.1139 0.0935)
OKLCHoklch(48.57% 0.147 140.6)
XYZxyz(6.8537, 12.4527, 2.6146)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#247212 #601272
analogous
#547212 #247212 #127230
triadic
#247212 #122472 #721224
tetradic
#247212 #125472 #601272 #723012
square
#247212 #125472 #601272 #723012
split-complementary
#247212 #301272 #721254
monochromatic
#081A04 #133D0A #247212 #35A71A #45DC23

Accessibility & contrast

On white

6.02
#247212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#247212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #247212
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##247212#FFFFFF#000000##FFFFFF
##2472121.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#166E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #247212;
/* rgb */ color: rgb(36, 114, 18);
/* oklch */ color: oklch(48.6% 0.147 140.6);
Tailwind
colors: {
  custom: {
    50: '#6b9b59',
    500: '#247212',
    950: '#000000',
  },
}
SCSS
$custom: #247212;
$custom-light: #6b9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#247212",
  "rgb": {
    "r": 36,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 108.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48572,
    "c": 0.14737,
    "h": 140.6
  },
  "luminance": 0.12453
}

Semantic roles & 50–950 ramp

primary
#247212
secondary
#9437A9
accent
#38EFCD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #247212

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

Preview Lab → · Contrast checker → · Palette generator →

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