#227F27#227F27

#227F27 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.151 H 143.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#227F27
RGBrgb(34, 127, 39)
HSLhsl(123, 58%, 32%)
HSVhsv(123, 73%, 50%)
CMYKcmyk(73.2%, 0%, 69.3%, 50.2%)
CIE-LABlab(46.53, -44.93, 38.72)
CIE-LCHlch(46.53, 59.32, 139.25°)
OKLaboklab(52.42% -0.1217 0.0893)
OKLCHoklch(52.42% 0.151 143.7)
XYZxyz(8.6147, 15.6644, 4.4886)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F27 #7F227A
analogous
#4C7F22 #227F27 #227F56
triadic
#227F27 #27227F #7F2722
tetradic
#227F27 #224C7F #7F227A #7F5622
square
#227F27 #224C7F #7F227A #7F5622
split-complementary
#227F27 #56227F #7F224C
monochromatic
#081E09 #154F18 #227F27 #2FAF36 #4CCF53

Accessibility & contrast

On white

5.08
#227F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#227F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F27
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F27#FFFFFF#000000##FFFFFF
##227F271.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731B
Deuteranopia (green-blind)
#776B2F
Tritanopia (blue-blind)
#017B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227f27;
/* rgb */ color: rgb(34, 127, 39);
/* oklch */ color: oklch(52.4% 0.151 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ca566',
    500: '#227f27',
    950: '#000000',
  },
}
SCSS
$custom: #227f27;
$custom-light: #6ca566;
$custom-dark: #000000;
JSON
{
  "hex": "#227f27",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 123.226,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52422,
    "c": 0.15097,
    "h": 143.7
  },
  "luminance": 0.15665
}

Semantic roles & 50–950 ramp

primary
#227F27
secondary
#B24BAC
accent
#47D9E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #227F27

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

Preview Lab → · Contrast checker → · Palette generator →

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