#247228#247228

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

Color values

HEX#247228
RGBrgb(36, 114, 40)
HSLhsl(123, 52%, 29%)
HSVhsv(123, 68%, 45%)
CMYKcmyk(68.4%, 0%, 64.9%, 55.3%)
CIE-LABlab(42.10, -39.57, 33.37)
CIE-LCHlch(42.10, 51.76, 139.86°)
OKLaboklab(48.77% -0.1072 0.078)
OKLCHoklch(48.77% 0.133 144)
XYZxyz(7.1274, 12.5622, 4.0562)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#247228 #72246E
analogous
#477224 #247228 #24724F
triadic
#247228 #282472 #722824
tetradic
#247228 #244772 #72246E #724F24
square
#247228 #244772 #72246E #724F24
split-complementary
#247228 #4F2472 #722447
monochromatic
#071708 #154318 #247228 #33A138 #4AC651

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##247228#FFFFFF#000000##FFFFFF
##2472281.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)
#746720
Deuteranopia (green-blind)
#6B612E
Tritanopia (blue-blind)
#116F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #247228;
/* rgb */ color: rgb(36, 114, 40);
/* oklch */ color: oklch(48.8% 0.133 144.0);
Tailwind
colors: {
  custom: {
    50: '#6a9b65',
    500: '#247228',
    950: '#000000',
  },
}
SCSS
$custom: #247228;
$custom-light: #6a9b65;
$custom-dark: #000000;
JSON
{
  "hex": "#247228",
  "rgb": {
    "r": 36,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 123.077,
    "s": 52,
    "l": 29.412
  },
  "oklch": {
    "l": 0.48767,
    "c": 0.13262,
    "h": 144
  },
  "luminance": 0.12563
}

Semantic roles & 50–950 ramp

primary
#247228
secondary
#A54DA0
accent
#4CD4DB
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #247228

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

Preview Lab → · Contrast checker → · Palette generator →

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