#227929#227929

#227929 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.142 H 144.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#227929
RGBrgb(34, 121, 41)
HSLhsl(125, 56%, 30%)
HSVhsv(125, 72%, 47%)
CMYKcmyk(71.9%, 0%, 66.1%, 52.5%)
CIE-LABlab(44.48, -42.52, 35.56)
CIE-LCHlch(44.48, 55.43, 140.10°)
OKLaboklab(50.73% -0.1151 0.0828)
OKLCHoklch(50.73% 0.142 144.3)
XYZxyz(7.8968, 14.1741, 4.4171)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227929 #792272
analogous
#467922 #227929 #227955
triadic
#227929 #292279 #792922
tetradic
#227929 #224679 #792272 #795522
square
#227929 #224679 #792272 #795522
split-complementary
#227929 #552279 #792246
monochromatic
#071909 #154919 #227929 #2FA939 #49CC54

Accessibility & contrast

On white

5.48
#227929 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#227929 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227929
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227929#FFFFFF#000000##FFFFFF
##2279291.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1F
Deuteranopia (green-blind)
#716630
Tritanopia (blue-blind)
#057668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227929;
/* rgb */ color: rgb(34, 121, 41);
/* oklch */ color: oklch(50.7% 0.142 144.3);
Tailwind
colors: {
  custom: {
    50: '#6ba166',
    500: '#227929',
    950: '#000000',
  },
}
SCSS
$custom: #227929;
$custom-light: #6ba166;
$custom-dark: #000000;
JSON
{
  "hex": "#227929",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 41
  },
  "hsl": {
    "h": 124.828,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5073,
    "c": 0.14179,
    "h": 144.3
  },
  "luminance": 0.14175
}

Semantic roles & 50–950 ramp

primary
#227929
secondary
#AC4BA4
accent
#48D3DF
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #227929

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

Preview Lab → · Contrast checker → · Palette generator →

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