#227526#227526

#227526 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.5% C 0.139 H 143.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#227526
RGBrgb(34, 117, 38)
HSLhsl(123, 55%, 30%)
HSVhsv(123, 71%, 46%)
CMYKcmyk(70.9%, 0%, 67.5%, 54.1%)
CIE-LABlab(43.07, -41.38, 35.39)
CIE-LCHlch(43.07, 54.45, 139.46°)
OKLaboklab(49.55% -0.1121 0.0821)
OKLCHoklch(49.55% 0.139 143.8)
XYZxyz(7.3704, 13.2018, 3.9931)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227526 #752271
analogous
#477522 #227526 #227550
triadic
#227526 #262275 #752622
tetradic
#227526 #224775 #752271 #755022
square
#227526 #224775 #752271 #755022
split-complementary
#227526 #502275 #752247
monochromatic
#071808 #144617 #227526 #30A435 #48CA4E

Accessibility & contrast

On white

5.77
#227526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#227526 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227526
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227526#FFFFFF#000000##FFFFFF
##2275261.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A1C
Deuteranopia (green-blind)
#6E632D
Tritanopia (blue-blind)
#0A7265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #227526;
/* rgb */ color: rgb(34, 117, 38);
/* oklch */ color: oklch(49.5% 0.139 143.8);
Tailwind
colors: {
  custom: {
    50: '#6a9e64',
    500: '#227526',
    950: '#000000',
  },
}
SCSS
$custom: #227526;
$custom-light: #6a9e64;
$custom-dark: #000000;
JSON
{
  "hex": "#227526",
  "rgb": {
    "r": 34,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 122.892,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49548,
    "c": 0.13899,
    "h": 143.8
  },
  "luminance": 0.13203
}

Semantic roles & 50–950 ramp

primary
#227526
secondary
#A84BA4
accent
#49D7DE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #227526

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

Preview Lab → · Contrast checker → · Palette generator →

#227526 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva