#227843#227843

#227843 is a mid, moderate green. Relative luminance 0.142; OKLCH L 50.8% C 0.116 H 152.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#227843
RGBrgb(34, 120, 67)
HSLhsl(143, 56%, 30%)
HSVhsv(143, 72%, 47%)
CMYKcmyk(71.7%, 0%, 44.2%, 52.9%)
CIE-LABlab(44.49, -38.10, 21.93)
CIE-LCHlch(44.49, 43.96, 150.08°)
OKLaboklab(50.85% -0.1027 0.0542)
OKLCHoklch(50.85% 0.116 152.2)
XYZxyz(8.3886, 14.1773, 7.6035)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227843 #782257
analogous
#2C7822 #227843 #22786E
triadic
#227843 #432278 #784322
tetradic
#227843 #222C78 #782257 #786E22
square
#227843 #222C78 #782257 #786E22
split-complementary
#227843 #6E2278 #78222C
monochromatic
#07190E #144828 #227843 #30A85E #49CB7B

Accessibility & contrast

On white

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

On black

3.84
#227843 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##227843#FFFFFF#000000##FFFFFF
##2278431.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E3F
Deuteranopia (green-blind)
#6E6647
Tritanopia (blue-blind)
#00766B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227843;
/* rgb */ color: rgb(34, 120, 67);
/* oklch */ color: oklch(50.8% 0.116 152.2);
Tailwind
colors: {
  custom: {
    50: '#69a078',
    500: '#227843',
    950: '#000000',
  },
}
SCSS
$custom: #227843;
$custom-light: #69a078;
$custom-dark: #000000;
JSON
{
  "hex": "#227843",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 67
  },
  "hsl": {
    "h": 143.023,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50847,
    "c": 0.11617,
    "h": 152.2
  },
  "luminance": 0.14178
}

Semantic roles & 50–950 ramp

primary
#227843
secondary
#AB4B86
accent
#49A5DF
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #227843

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

Preview Lab → · Contrast checker → · Palette generator →

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