#227829#227829

#227829 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.141 H 144.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#227829
RGBrgb(34, 120, 41)
HSLhsl(125, 56%, 30%)
HSVhsv(125, 72%, 47%)
CMYKcmyk(71.7%, 0%, 65.8%, 52.9%)
CIE-LABlab(44.14, -42.15, 35.17)
CIE-LCHlch(44.14, 54.90, 140.16°)
OKLaboklab(50.44% -0.1141 0.082)
OKLCHoklch(50.44% 0.141 144.3)
XYZxyz(7.7759, 13.9323, 4.3768)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227829 #782271
analogous
#467822 #227829 #227854
triadic
#227829 #292278 #782922
tetradic
#227829 #224678 #782271 #785422
square
#227829 #224678 #782271 #785422
split-complementary
#227829 #542278 #782246
monochromatic
#071908 #144819 #227829 #30A839 #49CB54

Accessibility & contrast

On white

5.55
#227829 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#227829 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227829
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227829#FFFFFF#000000##FFFFFF
##2278291.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D20
Deuteranopia (green-blind)
#706630
Tritanopia (blue-blind)
#067567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #227829;
/* rgb */ color: rgb(34, 120, 41);
/* oklch */ color: oklch(50.4% 0.141 144.3);
Tailwind
colors: {
  custom: {
    50: '#6aa066',
    500: '#227829',
    950: '#000000',
  },
}
SCSS
$custom: #227829;
$custom-light: #6aa066;
$custom-dark: #000000;
JSON
{
  "hex": "#227829",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 41
  },
  "hsl": {
    "h": 124.884,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50443,
    "c": 0.1405,
    "h": 144.3
  },
  "luminance": 0.13933
}

Semantic roles & 50–950 ramp

primary
#227829
secondary
#AB4BA3
accent
#49D3DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #227829

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

Preview Lab → · Contrast checker → · Palette generator →

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