#248C1F#248C1F

#248C1F is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.171 H 142.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#248C1F
RGBrgb(36, 140, 31)
HSLhsl(117, 64%, 34%)
HSVhsv(117, 78%, 55%)
CMYKcmyk(74.3%, 0%, 77.9%, 45.1%)
CIE-LABlab(50.95, -49.81, 46.48)
CIE-LCHlch(50.95, 68.13, 136.98°)
OKLaboklab(56.09% -0.1355 0.1045)
OKLCHoklch(56.09% 0.171 142.4)
XYZxyz(10.3523, 19.2290, 4.4620)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#248C1F #871F8C
analogous
#5A8C1F #248C1F #1F8C50
triadic
#248C1F #1F248C #8C1F24
tetradic
#248C1F #1F5A8C #871F8C #8C501F
square
#248C1F #1F5A8C #871F8C #8C501F
split-complementary
#248C1F #501F8C #8C1F5A
monochromatic
#0A2809 #175A14 #248C1F #31BE2A #54D84E

Accessibility & contrast

On white

4.33
#248C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#248C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #248C1F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##248C1F#FFFFFF#000000##000000
##248C1F1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#84762B
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #248c1f;
/* rgb */ color: rgb(36, 140, 31);
/* oklch */ color: oklch(56.1% 0.171 142.4);
Tailwind
colors: {
  custom: {
    50: '#70af63',
    500: '#248c1f',
    950: '#000000',
  },
}
SCSS
$custom: #248c1f;
$custom-light: #70af63;
$custom-dark: #000000;
JSON
{
  "hex": "#248c1f",
  "rgb": {
    "r": 36,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 117.248,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56086,
    "c": 0.17107,
    "h": 142.4
  },
  "luminance": 0.1923
}

Semantic roles & 50–950 ramp

primary
#248C1F
secondary
#B54CBB
accent
#41E7DF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #248C1F

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

Preview Lab → · Contrast checker → · Palette generator →

#248C1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva