#227930#227930

#227930 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.136 H 145.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#227930
RGBrgb(34, 121, 48)
HSLhsl(130, 56%, 30%)
HSVhsv(130, 72%, 47%)
CMYKcmyk(71.9%, 0%, 60.3%, 52.5%)
CIE-LABlab(44.56, -41.63, 32.23)
CIE-LCHlch(44.56, 52.64, 142.25°)
OKLaboklab(50.82% -0.1124 0.0763)
OKLCHoklch(50.82% 0.136 145.8)
XYZxyz(8.0300, 14.2274, 5.1187)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227930 #79226B
analogous
#3F7922 #227930 #22795B
triadic
#227930 #302279 #793022
tetradic
#227930 #223F79 #79226B #795B22
square
#227930 #223F79 #79226B #795B22
split-complementary
#227930 #5B2279 #79223F
monochromatic
#07190A #15491D #227930 #2FA943 #49CC5E

Accessibility & contrast

On white

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

On black

3.85
#227930 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##227930#FFFFFF#000000##FFFFFF
##2279301.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E29
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227930;
/* rgb */ color: rgb(34, 121, 48);
/* oklch */ color: oklch(50.8% 0.136 145.8);
Tailwind
colors: {
  custom: {
    50: '#6aa16b',
    500: '#227930',
    950: '#000000',
  },
}
SCSS
$custom: #227930;
$custom-light: #6aa16b;
$custom-dark: #000000;
JSON
{
  "hex": "#227930",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 48
  },
  "hsl": {
    "h": 129.655,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50817,
    "c": 0.13585,
    "h": 145.8
  },
  "luminance": 0.14228
}

Semantic roles & 50–950 ramp

primary
#227930
secondary
#AC4B9C
accent
#48C7DF
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227930

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

Preview Lab → · Contrast checker → · Palette generator →

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