#247227#247227

#247227 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.133 H 143.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#247227
RGBrgb(36, 114, 39)
HSLhsl(122, 52%, 29%)
HSVhsv(122, 68%, 45%)
CMYKcmyk(68.4%, 0%, 65.8%, 55.3%)
CIE-LABlab(42.09, -39.69, 33.84)
CIE-LCHlch(42.09, 52.16, 139.55°)
OKLaboklab(48.76% -0.1076 0.0789)
OKLCHoklch(48.76% 0.133 143.7)
XYZxyz(7.1106, 12.5555, 3.9678)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#247227 #72246F
analogous
#487224 #247227 #24724E
triadic
#247227 #272472 #722724
tetradic
#247227 #244872 #72246F #724E24
square
#247227 #244872 #72246F #724E24
split-complementary
#247227 #4E2472 #722448
monochromatic
#071708 #154317 #247227 #33A137 #4AC64F

Accessibility & contrast

On white

5.98
#247227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#247227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #247227
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##247227#FFFFFF#000000##FFFFFF
##2472271.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74671E
Deuteranopia (green-blind)
#6B612D
Tritanopia (blue-blind)
#116F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #247227;
/* rgb */ color: rgb(36, 114, 39);
/* oklch */ color: oklch(48.8% 0.133 143.7);
Tailwind
colors: {
  custom: {
    50: '#6a9b64',
    500: '#247227',
    950: '#000000',
  },
}
SCSS
$custom: #247227;
$custom-light: #6a9b64;
$custom-dark: #000000;
JSON
{
  "hex": "#247227",
  "rgb": {
    "r": 36,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 122.308,
    "s": 52,
    "l": 29.412
  },
  "oklch": {
    "l": 0.48755,
    "c": 0.13346,
    "h": 143.7
  },
  "luminance": 0.12556
}

Semantic roles & 50–950 ramp

primary
#247227
secondary
#A54DA2
accent
#4CD6DB
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #247227

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

Preview Lab → · Contrast checker → · Palette generator →

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