#227846#227846

#227846 is a mid, moderate green. Relative luminance 0.142; OKLCH L 50.9% C 0.113 H 153.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#227846
RGBrgb(34, 120, 70)
HSLhsl(145, 56%, 30%)
HSVhsv(145, 72%, 47%)
CMYKcmyk(71.7%, 0%, 41.7%, 52.9%)
CIE-LABlab(44.54, -37.51, 20.30)
CIE-LCHlch(44.54, 42.65, 151.58°)
OKLaboklab(50.91% -0.1013 0.0505)
OKLCHoklch(50.91% 0.113 153.5)
XYZxyz(8.4809, 14.2143, 8.0898)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227846 #782254
analogous
#297822 #227846 #227871
triadic
#227846 #462278 #784622
tetradic
#227846 #222978 #782254 #787122
square
#227846 #222978 #782254 #787122
split-complementary
#227846 #712278 #782229
monochromatic
#07190E #14482A #227846 #30A862 #49CB80

Accessibility & contrast

On white

5.46
#227846 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227846
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227846#FFFFFF#000000##FFFFFF
##2278461.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E43
Deuteranopia (green-blind)
#6D6649
Tritanopia (blue-blind)
#00766C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227846;
/* rgb */ color: rgb(34, 120, 70);
/* oklch */ color: oklch(50.9% 0.113 153.5);
Tailwind
colors: {
  custom: {
    50: '#69a07a',
    500: '#227846',
    950: '#000000',
  },
}
SCSS
$custom: #227846;
$custom-light: #69a07a;
$custom-dark: #000000;
JSON
{
  "hex": "#227846",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 70
  },
  "hsl": {
    "h": 145.116,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50907,
    "c": 0.11315,
    "h": 153.5
  },
  "luminance": 0.14215
}

Semantic roles & 50–950 ramp

primary
#227846
secondary
#AB4B83
accent
#49A0DF
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #227846

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

Preview Lab → · Contrast checker → · Palette generator →

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