#227426#227426

#227426 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.138 H 143.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#227426
RGBrgb(34, 116, 38)
HSLhsl(123, 55%, 29%)
HSVhsv(123, 71%, 45%)
CMYKcmyk(70.7%, 0%, 67.2%, 54.5%)
CIE-LABlab(42.72, -41.00, 35.01)
CIE-LCHlch(42.72, 53.91, 139.51°)
OKLaboklab(49.26% -0.1111 0.0813)
OKLCHoklch(49.26% 0.138 143.8)
XYZxyz(7.2545, 12.9700, 3.9545)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227426 #742270
analogous
#477422 #227426 #22744F
triadic
#227426 #262274 #742622
tetradic
#227426 #224774 #742270 #744F22
square
#227426 #224774 #742270 #744F22
split-complementary
#227426 #4F2274 #742247
monochromatic
#071808 #144516 #227426 #30A336 #47C94E

Accessibility & contrast

On white

5.84
#227426 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#227426 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227426
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227426#FFFFFF#000000##FFFFFF
##2274261.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691C
Deuteranopia (green-blind)
#6D622D
Tritanopia (blue-blind)
#0B7164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227426;
/* rgb */ color: rgb(34, 116, 38);
/* oklch */ color: oklch(49.3% 0.138 143.8);
Tailwind
colors: {
  custom: {
    50: '#6a9d64',
    500: '#227426',
    950: '#000000',
  },
}
SCSS
$custom: #227426;
$custom-light: #6a9d64;
$custom-dark: #000000;
JSON
{
  "hex": "#227426",
  "rgb": {
    "r": 34,
    "g": 116,
    "b": 38
  },
  "hsl": {
    "h": 122.927,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4926,
    "c": 0.1377,
    "h": 143.8
  },
  "luminance": 0.12971
}

Semantic roles & 50–950 ramp

primary
#227426
secondary
#A74BA3
accent
#4AD7DE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #227426

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

Preview Lab → · Contrast checker → · Palette generator →

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