#227923#227923

#227923 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.146 H 143.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#227923
RGBrgb(34, 121, 35)
HSLhsl(121, 56%, 30%)
HSVhsv(121, 72%, 47%)
CMYKcmyk(71.9%, 0%, 71.1%, 52.5%)
CIE-LABlab(44.43, -43.18, 38.22)
CIE-LCHlch(44.43, 57.66, 138.49°)
OKLaboklab(50.67% -0.1172 0.0877)
OKLCHoklch(50.67% 0.146 143.2)
XYZxyz(7.8000, 14.1353, 3.9071)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227923 #792278
analogous
#4C7922 #227923 #22794F
triadic
#227923 #232279 #792322
tetradic
#227923 #224C79 #792278 #794F22
square
#227923 #224C79 #792278 #794F22
split-complementary
#227923 #4F2279 #79224C
monochromatic
#071907 #154915 #227923 #2FA931 #49CC4B

Accessibility & contrast

On white

5.49
#227923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227923
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227923#FFFFFF#000000##FFFFFF
##2279231.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D17
Deuteranopia (green-blind)
#71662B
Tritanopia (blue-blind)
#087568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227923;
/* rgb */ color: rgb(34, 121, 35);
/* oklch */ color: oklch(50.7% 0.146 143.2);
Tailwind
colors: {
  custom: {
    50: '#6ba163',
    500: '#227923',
    950: '#000000',
  },
}
SCSS
$custom: #227923;
$custom-light: #6ba163;
$custom-dark: #000000;
JSON
{
  "hex": "#227923",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 120.69,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50666,
    "c": 0.14638,
    "h": 143.2
  },
  "luminance": 0.14136
}

Semantic roles & 50–950 ramp

primary
#227923
secondary
#AC4BAB
accent
#48DEDF
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #227923

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

Preview Lab → · Contrast checker → · Palette generator →

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