#227C25#227C25

#227C25 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.149 H 143.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#227C25
RGBrgb(34, 124, 37)
HSLhsl(122, 57%, 31%)
HSVhsv(122, 73%, 49%)
CMYKcmyk(72.6%, 0%, 70.2%, 51.4%)
CIE-LABlab(45.48, -44.06, 38.47)
CIE-LCHlch(45.48, 58.49, 138.88°)
OKLaboklab(51.54% -0.1195 0.0885)
OKLCHoklch(51.54% 0.149 143.5)
XYZxyz(8.2008, 14.8881, 4.1914)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C25 #7C2279
analogous
#4C7C22 #227C25 #227C52
triadic
#227C25 #25227C #7C2522
tetradic
#227C25 #224C7C #7C2279 #7C5222
square
#227C25 #224C7C #7C2279 #7C5222
split-complementary
#227C25 #52227C #7C224C
monochromatic
#081C08 #154C17 #227C25 #2FAC33 #4BCE4F

Accessibility & contrast

On white

5.28
#227C25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#227C25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C25
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C25#FFFFFF#000000##FFFFFF
##227C251.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7019
Deuteranopia (green-blind)
#74692D
Tritanopia (blue-blind)
#04786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227c25;
/* rgb */ color: rgb(34, 124, 37);
/* oklch */ color: oklch(51.5% 0.149 143.5);
Tailwind
colors: {
  custom: {
    50: '#6ca364',
    500: '#227c25',
    950: '#000000',
  },
}
SCSS
$custom: #227c25;
$custom-light: #6ca364;
$custom-dark: #000000;
JSON
{
  "hex": "#227c25",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 37
  },
  "hsl": {
    "h": 122,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51545,
    "c": 0.14868,
    "h": 143.5
  },
  "luminance": 0.14889
}

Semantic roles & 50–950 ramp

primary
#227C25
secondary
#AF4BAB
accent
#48DBE0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227C25

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

Preview Lab → · Contrast checker → · Palette generator →

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