#248E21#248E21

#248E21 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.172 H 142.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#248E21
RGBrgb(36, 142, 33)
HSLhsl(118, 62%, 34%)
HSVhsv(118, 77%, 56%)
CMYKcmyk(74.6%, 0%, 76.8%, 44.3%)
CIE-LABlab(51.64, -50.34, 46.45)
CIE-LCHlch(51.64, 68.49, 137.30°)
OKLaboklab(56.66% -0.1368 0.1047)
OKLCHoklch(56.66% 0.172 142.6)
XYZxyz(10.6744, 19.8297, 4.7035)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#248E21 #8B218E
analogous
#5B8E21 #248E21 #218E55
triadic
#248E21 #21248E #8E2124
tetradic
#248E21 #215B8E #8B218E #8E5521
square
#248E21 #215B8E #8B218E #8E5521
split-complementary
#248E21 #55218E #8E215B
monochromatic
#0B2B0A #175C15 #248E21 #31C02D #56D752

Accessibility & contrast

On white

4.23
#248E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#248E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #248E21
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##248E21#FFFFFF#000000##000000
##248E211.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#85782D
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #248e21;
/* rgb */ color: rgb(36, 142, 33);
/* oklch */ color: oklch(56.7% 0.172 142.6);
Tailwind
colors: {
  custom: {
    50: '#71b064',
    500: '#248e21',
    950: '#000000',
  },
}
SCSS
$custom: #248e21;
$custom-light: #71b064;
$custom-dark: #000000;
JSON
{
  "hex": "#248e21",
  "rgb": {
    "r": 36,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 118.349,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56663,
    "c": 0.17224,
    "h": 142.6
  },
  "luminance": 0.19831
}

Semantic roles & 50–950 ramp

primary
#248E21
secondary
#B850BA
accent
#42E5E1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #248E21

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

Preview Lab → · Contrast checker → · Palette generator →

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