#247D21#247D21

#247D21 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.152 H 142.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#247D21
RGBrgb(36, 125, 33)
HSLhsl(118, 58%, 31%)
HSVhsv(118, 74%, 49%)
CMYKcmyk(71.2%, 0%, 73.6%, 51%)
CIE-LABlab(45.84, -44.41, 40.56)
CIE-LCHlch(45.84, 60.15, 137.60°)
OKLaboklab(51.85% -0.1207 0.0924)
OKLCHoklch(51.85% 0.152 142.6)
XYZxyz(8.3352, 15.1512, 3.9238)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#247D21 #7A217D
analogous
#527D21 #247D21 #217D4C
triadic
#247D21 #21247D #7D2124
tetradic
#247D21 #21527D #7A217D #7D4C21
square
#247D21 #21527D #7A217D #7D4C21
split-complementary
#247D21 #4C217D #7D2152
monochromatic
#081C07 #164D14 #247D21 #32AD2E #4ECF49

Accessibility & contrast

On white

5.21
#247D21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#247D21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #247D21
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##247D21#FFFFFF#000000##FFFFFF
##247D211.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807112
Deuteranopia (green-blind)
#756A2A
Tritanopia (blue-blind)
#0C796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #247d21;
/* rgb */ color: rgb(36, 125, 33);
/* oklch */ color: oklch(51.8% 0.152 142.6);
Tailwind
colors: {
  custom: {
    50: '#6da462',
    500: '#247d21',
    950: '#000000',
  },
}
SCSS
$custom: #247d21;
$custom-light: #6da462;
$custom-dark: #000000;
JSON
{
  "hex": "#247d21",
  "rgb": {
    "r": 36,
    "g": 125,
    "b": 33
  },
  "hsl": {
    "h": 118.043,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51847,
    "c": 0.15203,
    "h": 142.6
  },
  "luminance": 0.15152
}

Semantic roles & 50–950 ramp

primary
#247D21
secondary
#AC4AB0
accent
#46E1DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #247D21

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

Preview Lab → · Contrast checker → · Palette generator →

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