#247A1F#247A1F

#247A1F is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.150 H 142.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#247A1F
RGBrgb(36, 122, 31)
HSLhsl(117, 59%, 30%)
HSVhsv(117, 75%, 48%)
CMYKcmyk(70.5%, 0%, 74.6%, 52.2%)
CIE-LABlab(44.79, -43.51, 40.29)
CIE-LCHlch(44.79, 59.30, 137.20°)
OKLaboklab(50.97% -0.1184 0.0915)
OKLCHoklch(50.97% 0.15 142.3)
XYZxyz(7.9340, 14.3922, 3.6559)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#247A1F #751F7A
analogous
#527A1F #247A1F #1F7A47
triadic
#247A1F #1F247A #7A1F24
tetradic
#247A1F #1F527A #751F7A #7A471F
square
#247A1F #1F527A #751F7A #7A471F
split-complementary
#247A1F #471F7A #7A1F52
monochromatic
#071806 #164913 #247A1F #32AB2B #4CCF44

Accessibility & contrast

On white

5.41
#247A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#247A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #247A1F
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##247A1F#FFFFFF#000000##FFFFFF
##247A1F1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E10
Deuteranopia (green-blind)
#736728
Tritanopia (blue-blind)
#0F7668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #247a1f;
/* rgb */ color: rgb(36, 122, 31);
/* oklch */ color: oklch(51.0% 0.150 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ca161',
    500: '#247a1f',
    950: '#000000',
  },
}
SCSS
$custom: #247a1f;
$custom-light: #6ca161;
$custom-dark: #000000;
JSON
{
  "hex": "#247a1f",
  "rgb": {
    "r": 36,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 116.703,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.50972,
    "c": 0.14966,
    "h": 142.3
  },
  "luminance": 0.14393
}

Semantic roles & 50–950 ramp

primary
#247A1F
secondary
#A847AD
accent
#45E3DA
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #247A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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