#227B25#227B25

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

Color values

HEX#227B25
RGBrgb(34, 123, 37)
HSLhsl(122, 57%, 31%)
HSVhsv(122, 72%, 48%)
CMYKcmyk(72.4%, 0%, 69.9%, 51.8%)
CIE-LABlab(45.14, -43.70, 38.10)
CIE-LCHlch(45.14, 57.98, 138.92°)
OKLaboklab(51.26% -0.1185 0.0877)
OKLCHoklch(51.26% 0.147 143.5)
XYZxyz(8.0761, 14.6387, 4.1498)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B25 #7B2278
analogous
#4B7B22 #227B25 #227B51
triadic
#227B25 #25227B #7B2522
tetradic
#227B25 #224B7B #7B2278 #7B5122
square
#227B25 #224B7B #7B2278 #7B5122
split-complementary
#227B25 #51227B #7B224B
monochromatic
#071B08 #154B17 #227B25 #2FAB33 #4ACD4F

Accessibility & contrast

On white

5.35
#227B25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#227B25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B25
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B25#FFFFFF#000000##FFFFFF
##227B251.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F19
Deuteranopia (green-blind)
#73682D
Tritanopia (blue-blind)
#057769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227b25;
/* rgb */ color: rgb(34, 123, 37);
/* oklch */ color: oklch(51.3% 0.147 143.5);
Tailwind
colors: {
  custom: {
    50: '#6ba264',
    500: '#227b25',
    950: '#000000',
  },
}
SCSS
$custom: #227b25;
$custom-light: #6ba264;
$custom-dark: #000000;
JSON
{
  "hex": "#227b25",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 37
  },
  "hsl": {
    "h": 122.022,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51259,
    "c": 0.14743,
    "h": 143.5
  },
  "luminance": 0.1464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #227B25

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

Preview Lab → · Contrast checker → · Palette generator →

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