#247A28#247A28

#247A28 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.143 H 143.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#247A28
RGBrgb(36, 122, 40)
HSLhsl(123, 54%, 31%)
HSVhsv(123, 70%, 48%)
CMYKcmyk(70.5%, 0%, 67.2%, 52.2%)
CIE-LABlab(44.87, -42.60, 36.47)
CIE-LCHlch(44.87, 56.08, 139.44°)
OKLaboklab(51.06% -0.1155 0.0846)
OKLCHoklch(51.06% 0.143 143.8)
XYZxyz(8.0696, 14.4465, 4.3702)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#247A28 #7A2476
analogous
#4B7A24 #247A28 #247A53
triadic
#247A28 #28247A #7A2824
tetradic
#247A28 #244B7A #7A2476 #7A5324
square
#247A28 #244B7A #7A2476 #7A5324
split-complementary
#247A28 #53247A #7A244B
monochromatic
#081B09 #164B19 #247A28 #32A937 #4ECB54

Accessibility & contrast

On white

5.40
#247A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#247A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #247A28
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##247A28#FFFFFF#000000##FFFFFF
##247A281.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1E
Deuteranopia (green-blind)
#72672F
Tritanopia (blue-blind)
#0B7769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #247a28;
/* rgb */ color: rgb(36, 122, 40);
/* oklch */ color: oklch(51.1% 0.143 143.8);
Tailwind
colors: {
  custom: {
    50: '#6ca166',
    500: '#247a28',
    950: '#000000',
  },
}
SCSS
$custom: #247a28;
$custom-light: #6ca166;
$custom-dark: #000000;
JSON
{
  "hex": "#247a28",
  "rgb": {
    "r": 36,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 122.791,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51059,
    "c": 0.14315,
    "h": 143.8
  },
  "luminance": 0.14447
}

Semantic roles & 50–950 ramp

primary
#247A28
secondary
#AC4DA8
accent
#4AD7DE
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #247A28

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

Preview Lab → · Contrast checker → · Palette generator →

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