#227A25#227A25

#227A25 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.146 H 143.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#227A25
RGBrgb(34, 122, 37)
HSLhsl(122, 56%, 31%)
HSVhsv(122, 72%, 48%)
CMYKcmyk(72.1%, 0%, 69.7%, 52.2%)
CIE-LABlab(44.79, -43.34, 37.73)
CIE-LCHlch(44.79, 57.46, 138.96°)
OKLaboklab(50.97% -0.1175 0.087)
OKLCHoklch(50.97% 0.146 143.5)
XYZxyz(7.9527, 14.3919, 4.1087)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A25 #7A2277
analogous
#4B7A22 #227A25 #227A51
triadic
#227A25 #25227A #7A2522
tetradic
#227A25 #224B7A #7A2277 #7A5122
square
#227A25 #224B7A #7A2277 #7A5122
split-complementary
#227A25 #51227A #7A224B
monochromatic
#071A08 #154A16 #227A25 #2FAA34 #4ACD4E

Accessibility & contrast

On white

5.41
#227A25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#227A25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A25
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A25#FFFFFF#000000##FFFFFF
##227A251.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E1A
Deuteranopia (green-blind)
#72672D
Tritanopia (blue-blind)
#067669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227a25;
/* rgb */ color: rgb(34, 122, 37);
/* oklch */ color: oklch(51.0% 0.146 143.5);
Tailwind
colors: {
  custom: {
    50: '#6ba164',
    500: '#227a25',
    950: '#000000',
  },
}
SCSS
$custom: #227a25;
$custom-light: #6ba164;
$custom-dark: #000000;
JSON
{
  "hex": "#227a25",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 37
  },
  "hsl": {
    "h": 122.045,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50973,
    "c": 0.14617,
    "h": 143.5
  },
  "luminance": 0.14393
}

Semantic roles & 50–950 ramp

primary
#227A25
secondary
#AD4BA9
accent
#48DBE0
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #227A25

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

Preview Lab → · Contrast checker → · Palette generator →

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