#248B1F#248B1F

#248B1F is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.170 H 142.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#248B1F
RGBrgb(36, 139, 31)
HSLhsl(117, 64%, 33%)
HSVhsv(117, 78%, 55%)
CMYKcmyk(74.1%, 0%, 77.7%, 45.5%)
CIE-LABlab(50.61, -49.47, 46.15)
CIE-LCHlch(50.61, 67.66, 136.99°)
OKLaboklab(55.8% -0.1345 0.1038)
OKLCHoklch(55.8% 0.17 142.4)
XYZxyz(10.2069, 18.9381, 4.4136)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#248B1F #861F8B
analogous
#5A8B1F #248B1F #1F8B50
triadic
#248B1F #1F248B #8B1F24
tetradic
#248B1F #1F5A8B #861F8B #8B501F
square
#248B1F #1F5A8B #861F8B #8B501F
split-complementary
#248B1F #501F8B #8B1F5A
monochromatic
#0A2709 #175914 #248B1F #31BD2A #53D74D

Accessibility & contrast

On white

4.39
#248B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#248B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #248B1F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##248B1F#FFFFFF#000000##000000
##248B1F1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D06
Deuteranopia (green-blind)
#83752B
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #248b1f;
/* rgb */ color: rgb(36, 139, 31);
/* oklch */ color: oklch(55.8% 0.170 142.4);
Tailwind
colors: {
  custom: {
    50: '#70ae63',
    500: '#248b1f',
    950: '#000000',
  },
}
SCSS
$custom: #248b1f;
$custom-light: #70ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#248b1f",
  "rgb": {
    "r": 36,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 117.222,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55804,
    "c": 0.16991,
    "h": 142.4
  },
  "luminance": 0.18939
}

Semantic roles & 50–950 ramp

primary
#248B1F
secondary
#B54CBA
accent
#41E7DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #248B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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