#248126#248126

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

Color values

HEX#248126
RGBrgb(36, 129, 38)
HSLhsl(121, 56%, 32%)
HSVhsv(121, 72%, 51%)
CMYKcmyk(72.1%, 0%, 70.5%, 49.4%)
CIE-LABlab(47.25, -45.37, 39.95)
CIE-LCHlch(47.25, 60.45, 138.64°)
OKLaboklab(53.03% -0.1231 0.0917)
OKLCHoklch(53.03% 0.154 143.3)
XYZxyz(8.9271, 16.2146, 4.4926)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#248126 #81247F
analogous
#518124 #248126 #248154
triadic
#248126 #262481 #812624
tetradic
#248126 #245181 #81247F #815424
square
#248126 #245181 #81247F #815424
split-complementary
#248126 #542481 #812451
monochromatic
#09210A #175118 #248126 #31B134 #51CE54

Accessibility & contrast

On white

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

On black

4.24
#248126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##248126#FFFFFF#000000##FFFFFF
##2481261.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847519
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#067D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #248126;
/* rgb */ color: rgb(36, 129, 38);
/* oklch */ color: oklch(53.0% 0.154 143.3);
Tailwind
colors: {
  custom: {
    50: '#6da765',
    500: '#248126',
    950: '#000000',
  },
}
SCSS
$custom: #248126;
$custom-light: #6da765;
$custom-dark: #000000;
JSON
{
  "hex": "#248126",
  "rgb": {
    "r": 36,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 121.29,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53032,
    "c": 0.15351,
    "h": 143.3
  },
  "luminance": 0.16216
}

Semantic roles & 50–950 ramp

primary
#248126
secondary
#B24EB0
accent
#48DCE0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #248126

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

Preview Lab → · Contrast checker → · Palette generator →

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