#227E10#227E10

#227E10 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.163 H 141.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#227E10
RGBrgb(34, 126, 16)
HSLhsl(110, 77%, 28%)
HSVhsv(110, 87%, 49%)
CMYKcmyk(73%, 0%, 87.3%, 50.6%)
CIE-LABlab(46.04, -46.36, 46.49)
CIE-LCHlch(46.04, 65.65, 134.92°)
OKLaboklab(51.97% -0.1267 0.1023)
OKLCHoklch(51.97% 0.163 141.1)
XYZxyz(8.2136, 15.2983, 3.0101)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E10 #6C107E
analogous
#597E10 #227E10 #107E35
triadic
#227E10 #10227E #7E1022
tetradic
#227E10 #10597E #6C107E #7E3510
square
#227E10 #10597E #6C107E #7E3510
split-complementary
#227E10 #35107E #7E1059
monochromatic
#071B03 #134809 #227E10 #31B417 #44E325

Accessibility & contrast

On white

5.17
#227E10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#227E10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E10
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E10#FFFFFF#000000##FFFFFF
##227E101.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776A1F
Tritanopia (blue-blind)
#0A7A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227e10;
/* rgb */ color: rgb(34, 126, 16);
/* oklch */ color: oklch(52.0% 0.163 141.1);
Tailwind
colors: {
  custom: {
    50: '#6da45b',
    500: '#227e10',
    950: '#000000',
  },
}
SCSS
$custom: #227e10;
$custom-light: #6da45b;
$custom-dark: #000000;
JSON
{
  "hex": "#227e10",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 16
  },
  "hsl": {
    "h": 110.182,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51968,
    "c": 0.16288,
    "h": 141.1
  },
  "luminance": 0.15299
}

Semantic roles & 50–950 ramp

primary
#227E10
secondary
#A036B4
accent
#34F4D5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #227E10

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

Preview Lab → · Contrast checker → · Palette generator →

#227E10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva