#248F1F#248F1F

#248F1F is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.175 H 142.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#248F1F
RGBrgb(36, 143, 31)
HSLhsl(117, 64%, 34%)
HSVhsv(117, 78%, 56%)
CMYKcmyk(74.8%, 0%, 78.3%, 43.9%)
CIE-LABlab(51.97, -50.82, 47.48)
CIE-LCHlch(51.97, 69.55, 136.95°)
OKLaboklab(56.93% -0.1382 0.1065)
OKLCHoklch(56.93% 0.175 142.4)
XYZxyz(10.7967, 20.1177, 4.6102)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#248F1F #8A1F8F
analogous
#5C8F1F #248F1F #1F8F52
triadic
#248F1F #1F248F #8F1F24
tetradic
#248F1F #1F5C8F #8A1F8F #8F521F
square
#248F1F #1F5C8F #8A1F8F #8F521F
split-complementary
#248F1F #521F8F #8F1F5C
monochromatic
#0B2A09 #175D14 #248F1F #31C12A #56D94F

Accessibility & contrast

On white

4.18
#248F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#248F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #248F1F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##248F1F#FFFFFF#000000##000000
##248F1F1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928104
Deuteranopia (green-blind)
#86792C
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #248f1f;
/* rgb */ color: rgb(36, 143, 31);
/* oklch */ color: oklch(56.9% 0.175 142.4);
Tailwind
colors: {
  custom: {
    50: '#71b163',
    500: '#248f1f',
    950: '#000000',
  },
}
SCSS
$custom: #248f1f;
$custom-light: #71b163;
$custom-dark: #000000;
JSON
{
  "hex": "#248f1f",
  "rgb": {
    "r": 36,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 117.321,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5693,
    "c": 0.17451,
    "h": 142.4
  },
  "luminance": 0.20119
}

Semantic roles & 50–950 ramp

primary
#248F1F
secondary
#B74EBC
accent
#40E7E0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #248F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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