#227830#227830

#227830 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.135 H 145.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#227830
RGBrgb(34, 120, 48)
HSLhsl(130, 56%, 30%)
HSVhsv(130, 72%, 47%)
CMYKcmyk(71.7%, 0%, 60%, 52.9%)
CIE-LABlab(44.21, -41.25, 31.82)
CIE-LCHlch(44.21, 52.09, 142.35°)
OKLaboklab(50.53% -0.1113 0.0755)
OKLCHoklch(50.53% 0.135 145.9)
XYZxyz(7.9091, 13.9856, 5.0784)
Luminance0.1399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227830 #78226A
analogous
#3F7822 #227830 #22785B
triadic
#227830 #302278 #783022
tetradic
#227830 #223F78 #78226A #785B22
square
#227830 #223F78 #78226A #785B22
split-complementary
#227830 #5B2278 #78223F
monochromatic
#07190A #14481D #227830 #30A843 #49CB5E

Accessibility & contrast

On white

5.53
#227830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#227830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227830
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227830#FFFFFF#000000##FFFFFF
##2278301.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D29
Deuteranopia (green-blind)
#706636
Tritanopia (blue-blind)
#017568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227830;
/* rgb */ color: rgb(34, 120, 48);
/* oklch */ color: oklch(50.5% 0.135 145.9);
Tailwind
colors: {
  custom: {
    50: '#6aa06b',
    500: '#227830',
    950: '#000000',
  },
}
SCSS
$custom: #227830;
$custom-light: #6aa06b;
$custom-dark: #000000;
JSON
{
  "hex": "#227830",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 48
  },
  "hsl": {
    "h": 129.767,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50531,
    "c": 0.1345,
    "h": 145.9
  },
  "luminance": 0.13986
}

Semantic roles & 50–950 ramp

primary
#227830
secondary
#AB4B9B
accent
#49C7DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #227830

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

Preview Lab → · Contrast checker → · Palette generator →

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