#247226#247226

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

Color values

HEX#247226
RGBrgb(36, 114, 38)
HSLhsl(122, 52%, 29%)
HSVhsv(122, 68%, 45%)
CMYKcmyk(68.4%, 0%, 66.7%, 55.3%)
CIE-LABlab(42.08, -39.81, 34.31)
CIE-LCHlch(42.08, 52.55, 139.24°)
OKLaboklab(48.74% -0.108 0.0798)
OKLCHoklch(48.74% 0.134 143.5)
XYZxyz(7.0943, 12.5489, 3.8817)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#247226 #722470
analogous
#497224 #247226 #24724D
triadic
#247226 #262472 #722624
tetradic
#247226 #244972 #722470 #724D24
square
#247226 #244972 #722470 #724D24
split-complementary
#247226 #4D2472 #722449
monochromatic
#071708 #154316 #247226 #33A136 #4AC64E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##247226#FFFFFF#000000##FFFFFF
##2472261.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)
#74671D
Deuteranopia (green-blind)
#6B612D
Tritanopia (blue-blind)
#116F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #247226;
/* rgb */ color: rgb(36, 114, 38);
/* oklch */ color: oklch(48.7% 0.134 143.5);
Tailwind
colors: {
  custom: {
    50: '#6a9b64',
    500: '#247226',
    950: '#000000',
  },
}
SCSS
$custom: #247226;
$custom-light: #6a9b64;
$custom-dark: #000000;
JSON
{
  "hex": "#247226",
  "rgb": {
    "r": 36,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 121.538,
    "s": 52,
    "l": 29.412
  },
  "oklch": {
    "l": 0.48743,
    "c": 0.13428,
    "h": 143.5
  },
  "luminance": 0.1255
}

Semantic roles & 50–950 ramp

primary
#247226
secondary
#A54DA3
accent
#4CD8DB
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E05
muted
#7A7E7A

Preview Lab

Preview with #247226

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

Preview Lab → · Contrast checker → · Palette generator →

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