#115228#115228

#115228 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.095 H 150.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#115228
RGBrgb(17, 82, 40)
HSLhsl(141, 66%, 19%)
HSVhsv(141, 79%, 32%)
CMYKcmyk(79.3%, 0%, 51.2%, 67.8%)
CIE-LABlab(30.17, -30.62, 18.98)
CIE-LCHlch(30.17, 36.03, 148.21°)
OKLaboklab(38.77% -0.0824 0.0464)
OKLCHoklch(38.77% 0.095 150.6)
XYZxyz(3.6312, 6.3065, 3.0330)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#115228 #52113B
analogous
#1A5211 #115228 #115249
triadic
#115228 #281152 #522811
tetradic
#115228 #111A52 #52113B #524911
square
#115228 #111A52 #52113B #524911
split-complementary
#115228 #491152 #52111A
monochromatic
#05190C #061F0F #115228 #1C8541 #26B759

Accessibility & contrast

On white

9.29
#115228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#115228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #115228
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##115228#FFFFFF#000000##FFFFFF
##1152281.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A25
Deuteranopia (green-blind)
#4B452B
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #115228;
/* rgb */ color: rgb(17, 82, 40);
/* oklch */ color: oklch(38.8% 0.095 150.6);
Tailwind
colors: {
  custom: {
    50: '#5a8362',
    500: '#115228',
    950: '#000000',
  },
}
SCSS
$custom: #115228;
$custom-light: #5a8362;
$custom-dark: #000000;
JSON
{
  "hex": "#115228",
  "rgb": {
    "r": 17,
    "g": 82,
    "b": 40
  },
  "hsl": {
    "h": 141.231,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38771,
    "c": 0.09457,
    "h": 150.6
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#115228
secondary
#8B346C
accent
#3FADE9
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #115228

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

Preview Lab → · Contrast checker → · Palette generator →

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