#227943#227943

#227943 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.1% C 0.118 H 152.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#227943
RGBrgb(34, 121, 67)
HSLhsl(143, 56%, 30%)
HSVhsv(143, 72%, 47%)
CMYKcmyk(71.9%, 0%, 44.6%, 52.5%)
CIE-LABlab(44.83, -38.51, 22.37)
CIE-LCHlch(44.83, 44.54, 149.85°)
OKLaboklab(51.13% -0.1038 0.0553)
OKLCHoklch(51.13% 0.118 152)
XYZxyz(8.5095, 14.4191, 7.6438)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227943 #792258
analogous
#2C7922 #227943 #22796E
triadic
#227943 #432279 #794322
tetradic
#227943 #222C79 #792258 #796E22
square
#227943 #222C79 #792258 #796E22
split-complementary
#227943 #6E2279 #79222C
monochromatic
#07190E #154929 #227943 #2FA95D #49CC7B

Accessibility & contrast

On white

5.41
#227943 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#227943 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227943
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227943#FFFFFF#000000##FFFFFF
##2279431.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F3F
Deuteranopia (green-blind)
#6F6747
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227943;
/* rgb */ color: rgb(34, 121, 67);
/* oklch */ color: oklch(51.1% 0.118 152.0);
Tailwind
colors: {
  custom: {
    50: '#6aa078',
    500: '#227943',
    950: '#000000',
  },
}
SCSS
$custom: #227943;
$custom-light: #6aa078;
$custom-dark: #000000;
JSON
{
  "hex": "#227943",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 67
  },
  "hsl": {
    "h": 142.759,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51129,
    "c": 0.11761,
    "h": 152
  },
  "luminance": 0.1442
}

Semantic roles & 50–950 ramp

primary
#227943
secondary
#AC4B87
accent
#48A6DF
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #227943

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

Preview Lab → · Contrast checker → · Palette generator →

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