#248731#248731

#248731 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.153 H 145.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#248731
RGBrgb(36, 135, 49)
HSLhsl(128, 58%, 34%)
HSVhsv(128, 73%, 53%)
CMYKcmyk(73.3%, 0%, 63.7%, 47.1%)
CIE-LABlab(49.40, -46.30, 37.34)
CIE-LCHlch(49.40, 59.48, 141.12°)
OKLaboklab(54.85% -0.1251 0.0874)
OKLCHoklch(54.85% 0.153 145)
XYZxyz(9.9452, 17.9237, 5.8406)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#248731 #87247A
analogous
#488724 #248731 #248762
triadic
#248731 #312487 #873124
tetradic
#248731 #244887 #87247A #876224
square
#248731 #244887 #87247A #876224
split-complementary
#248731 #622487 #872448
monochromatic
#0A260E #17571F #248731 #31B743 #54D164

Accessibility & contrast

On white

4.58
#248731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#248731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #248731
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##248731#FFFFFF#000000##000000
##2487311.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A27
Deuteranopia (green-blind)
#7E7238
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #248731;
/* rgb */ color: rgb(36, 135, 49);
/* oklch */ color: oklch(54.8% 0.153 145.0);
Tailwind
colors: {
  custom: {
    50: '#6eab6c',
    500: '#248731',
    950: '#000000',
  },
}
SCSS
$custom: #248731;
$custom-light: #6eab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#248731",
  "rgb": {
    "r": 36,
    "g": 135,
    "b": 49
  },
  "hsl": {
    "h": 127.879,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54846,
    "c": 0.15261,
    "h": 145
  },
  "luminance": 0.17925
}

Semantic roles & 50–950 ramp

primary
#248731
secondary
#B551A8
accent
#47CDE1
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #248731

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

Preview Lab → · Contrast checker → · Palette generator →

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