#248228#248228

#248228 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.153 H 143.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#248228
RGBrgb(36, 130, 40)
HSLhsl(123, 57%, 33%)
HSVhsv(123, 72%, 51%)
CMYKcmyk(72.3%, 0%, 69.2%, 49%)
CIE-LABlab(47.61, -45.52, 39.47)
CIE-LCHlch(47.61, 60.25, 139.08°)
OKLaboklab(53.34% -0.1234 0.091)
OKLCHoklch(53.34% 0.153 143.6)
XYZxyz(9.0926, 16.4925, 4.7113)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#248228 #82247E
analogous
#4F8224 #248228 #248257
triadic
#248228 #282482 #822824
tetradic
#248228 #244F82 #82247E #825724
square
#248228 #244F82 #82247E #825724
split-complementary
#248228 #572482 #82244F
monochromatic
#09220B #175219 #248228 #31B237 #51CF57

Accessibility & contrast

On white

4.89
#248228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#248228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #248228
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##248228#FFFFFF#000000##FFFFFF
##2482281.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761C
Deuteranopia (green-blind)
#7A6E30
Tritanopia (blue-blind)
#047E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #248228;
/* rgb */ color: rgb(36, 130, 40);
/* oklch */ color: oklch(53.3% 0.153 143.6);
Tailwind
colors: {
  custom: {
    50: '#6ea767',
    500: '#248228',
    950: '#000000',
  },
}
SCSS
$custom: #248228;
$custom-light: #6ea767;
$custom-dark: #000000;
JSON
{
  "hex": "#248228",
  "rgb": {
    "r": 36,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 122.553,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53336,
    "c": 0.15329,
    "h": 143.6
  },
  "luminance": 0.16494
}

Semantic roles & 50–950 ramp

primary
#248228
secondary
#B34FAF
accent
#48D9E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #248228

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

Preview Lab → · Contrast checker → · Palette generator →

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