#117228#117228

#117228 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.139 H 146.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#117228
RGBrgb(17, 114, 40)
HSLhsl(134, 74%, 26%)
HSVhsv(134, 85%, 45%)
CMYKcmyk(85.1%, 0%, 64.9%, 55.3%)
CIE-LABlab(41.70, -42.87, 32.81)
CIE-LCHlch(41.70, 53.98, 142.57°)
OKLaboklab(48.32% -0.1153 0.0769)
OKLCHoklch(48.32% 0.139 146.3)
XYZxyz(6.6310, 12.3062, 4.0329)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#117228 #72115B
analogous
#2A7211 #117228 #117258
triadic
#117228 #281172 #722811
tetradic
#117228 #112A72 #72115B #725811
square
#117228 #112A72 #72115B #725811
split-complementary
#117228 #581172 #72112A
monochromatic
#041B09 #093D15 #117228 #19A73B #21DD4D

Accessibility & contrast

On white

6.07
#117228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#117228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #117228
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##117228#FFFFFF#000000##FFFFFF
##1172281.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746720
Deuteranopia (green-blind)
#69602E
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #117228;
/* rgb */ color: rgb(17, 114, 40);
/* oklch */ color: oklch(48.3% 0.139 146.3);
Tailwind
colors: {
  custom: {
    50: '#639c65',
    500: '#117228',
    950: '#000000',
  },
}
SCSS
$custom: #117228;
$custom-light: #639c65;
$custom-dark: #000000;
JSON
{
  "hex": "#117228",
  "rgb": {
    "r": 17,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 134.227,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48323,
    "c": 0.13863,
    "h": 146.3
  },
  "luminance": 0.12307
}

Semantic roles & 50–950 ramp

primary
#117228
secondary
#A9368E
accent
#37C5F1
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #117228

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

Preview Lab → · Contrast checker → · Palette generator →

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