#248128#248128

#248128 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.152 H 143.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#248128
RGBrgb(36, 129, 40)
HSLhsl(123, 56%, 32%)
HSVhsv(123, 72%, 51%)
CMYKcmyk(72.1%, 0%, 69%, 49.4%)
CIE-LABlab(47.27, -45.16, 39.10)
CIE-LCHlch(47.27, 59.73, 139.12°)
OKLaboklab(53.05% -0.1224 0.0902)
OKLCHoklch(53.05% 0.152 143.6)
XYZxyz(8.9603, 16.2278, 4.6671)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#248128 #81247D
analogous
#4E8124 #248128 #248157
triadic
#248128 #282481 #812824
tetradic
#248128 #244E81 #81247D #815724
square
#248128 #244E81 #81247D #815724
split-complementary
#248128 #572481 #81244E
monochromatic
#09210A #175119 #248128 #31B137 #51CE56

Accessibility & contrast

On white

4.95
#248128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#248128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #248128
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##248128#FFFFFF#000000##FFFFFF
##2481281.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751C
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#057D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #248128;
/* rgb */ color: rgb(36, 129, 40);
/* oklch */ color: oklch(53.1% 0.152 143.6);
Tailwind
colors: {
  custom: {
    50: '#6da666',
    500: '#248128',
    950: '#000000',
  },
}
SCSS
$custom: #248128;
$custom-light: #6da666;
$custom-dark: #000000;
JSON
{
  "hex": "#248128",
  "rgb": {
    "r": 36,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 122.581,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53052,
    "c": 0.15204,
    "h": 143.6
  },
  "luminance": 0.16229
}

Semantic roles & 50–950 ramp

primary
#248128
secondary
#B24EAE
accent
#48D9E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #248128

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

Preview Lab → · Contrast checker → · Palette generator →

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