#248D22#248D22

#248D22 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.171 H 142.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#248D22
RGBrgb(36, 141, 34)
HSLhsl(119, 61%, 34%)
HSVhsv(119, 76%, 55%)
CMYKcmyk(74.5%, 0%, 75.9%, 44.7%)
CIE-LABlab(51.31, -49.92, 45.75)
CIE-LCHlch(51.31, 67.71, 137.49°)
OKLaboklab(56.39% -0.1356 0.1034)
OKLCHoklch(56.39% 0.171 142.7)
XYZxyz(10.5405, 19.5391, 4.7290)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#248D22 #8B228D
analogous
#598D22 #248D22 #228D56
triadic
#248D22 #22248D #8D2224
tetradic
#248D22 #22598D #8B228D #8D5622
square
#248D22 #22598D #8B228D #8D5622
split-complementary
#248D22 #56228D #8D2259
monochromatic
#0B2A0A #175C16 #248D22 #31BE2E #56D654

Accessibility & contrast

On white

4.28
#248D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#248D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #248D22
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##248D22#FFFFFF#000000##000000
##248D221.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #248d22;
/* rgb */ color: rgb(36, 141, 34);
/* oklch */ color: oklch(56.4% 0.171 142.7);
Tailwind
colors: {
  custom: {
    50: '#71af65',
    500: '#248d22',
    950: '#000000',
  },
}
SCSS
$custom: #248d22;
$custom-light: #71af65;
$custom-dark: #000000;
JSON
{
  "hex": "#248d22",
  "rgb": {
    "r": 36,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 118.879,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56389,
    "c": 0.1705,
    "h": 142.7
  },
  "luminance": 0.1954
}

Semantic roles & 50–950 ramp

primary
#248D22
secondary
#B851B9
accent
#44E4E1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #248D22

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

Preview Lab → · Contrast checker → · Palette generator →

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