#248231#248231

#248231 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.4% C 0.146 H 145.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#248231
RGBrgb(36, 130, 49)
HSLhsl(128, 57%, 33%)
HSVhsv(128, 72%, 51%)
CMYKcmyk(72.3%, 0%, 62.3%, 49%)
CIE-LABlab(47.70, -44.48, 35.39)
CIE-LCHlch(47.70, 56.84, 141.49°)
OKLaboklab(53.44% -0.1201 0.0833)
OKLCHoklch(53.44% 0.146 145.3)
XYZxyz(9.2639, 16.5611, 5.6135)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#248231 #822475
analogous
#468224 #248231 #248260
triadic
#248231 #312482 #823124
tetradic
#248231 #244682 #822475 #826024
square
#248231 #244682 #822475 #826024
split-complementary
#248231 #602482 #822446
monochromatic
#09220D #17521F #248231 #31B243 #51CF63

Accessibility & contrast

On white

4.87
#248231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#248231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #248231
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##248231#FFFFFF#000000##FFFFFF
##2482311.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847628
Deuteranopia (green-blind)
#796E38
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #248231;
/* rgb */ color: rgb(36, 130, 49);
/* oklch */ color: oklch(53.4% 0.146 145.3);
Tailwind
colors: {
  custom: {
    50: '#6da76c',
    500: '#248231',
    950: '#000000',
  },
}
SCSS
$custom: #248231;
$custom-light: #6da76c;
$custom-dark: #000000;
JSON
{
  "hex": "#248231",
  "rgb": {
    "r": 36,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 128.298,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53437,
    "c": 0.14617,
    "h": 145.3
  },
  "luminance": 0.16562
}

Semantic roles & 50–950 ramp

primary
#248231
secondary
#B34FA5
accent
#48CBE0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #248231

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

Preview Lab → · Contrast checker → · Palette generator →

#248231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva