#228729#228729

#228729 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.159 H 143.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#228729
RGBrgb(34, 135, 41)
HSLhsl(124, 60%, 33%)
HSVhsv(124, 75%, 53%)
CMYKcmyk(74.8%, 0%, 69.6%, 47.1%)
CIE-LABlab(49.29, -47.56, 40.82)
CIE-LCHlch(49.29, 62.67, 139.36°)
OKLaboklab(54.71% -0.1288 0.0939)
OKLCHoklch(54.71% 0.159 143.9)
XYZxyz(9.7233, 17.8270, 5.0259)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228729 #872280
analogous
#4E8722 #228729 #22875B
triadic
#228729 #292287 #872922
tetradic
#228729 #224E87 #872280 #875B22
square
#228729 #224E87 #872280 #875B22
split-complementary
#228729 #5B2287 #87224E
monochromatic
#09250B #16561A #228729 #2EB838 #50D359

Accessibility & contrast

On white

4.60
#228729 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#228729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228729
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228729#FFFFFF#000000##FFFFFF
##2287291.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1C
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228729;
/* rgb */ color: rgb(34, 135, 41);
/* oklch */ color: oklch(54.7% 0.159 143.9);
Tailwind
colors: {
  custom: {
    50: '#6eab68',
    500: '#228729',
    950: '#000000',
  },
}
SCSS
$custom: #228729;
$custom-light: #6eab68;
$custom-dark: #000000;
JSON
{
  "hex": "#228729",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 124.158,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54712,
    "c": 0.15939,
    "h": 143.9
  },
  "luminance": 0.17828
}

Semantic roles & 50–950 ramp

primary
#228729
secondary
#B74EAF
accent
#45D8E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228729

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

Preview Lab → · Contrast checker → · Palette generator →

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