#226B2F#226B2F

#226B2F is a mid, moderate green. Relative luminance 0.111; OKLCH L 46.8% C 0.117 H 146.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#226B2F
RGBrgb(34, 107, 47)
HSLhsl(131, 52%, 28%)
HSVhsv(131, 68%, 42%)
CMYKcmyk(68.2%, 0%, 56.1%, 58%)
CIE-LABlab(39.68, -36.27, 26.93)
CIE-LCHlch(39.68, 45.18, 143.41°)
OKLaboklab(46.78% -0.098 0.0647)
OKLCHoklch(46.78% 0.117 146.6)
XYZxyz(6.4300, 11.0601, 4.4847)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226B2F #6B225E
analogous
#396B22 #226B2F #226B53
triadic
#226B2F #2F226B #6B2F22
tetradic
#226B2F #22396B #6B225E #6B5322
square
#226B2F #22396B #6B225E #6B5322
split-complementary
#226B2F #53226B #6B2239
monochromatic
#07170A #133D1B #226B2F #319943 #44C45B

Accessibility & contrast

On white

6.54
#226B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#226B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226B2F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226B2F#FFFFFF#000000##FFFFFF
##226B2F1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C612A
Deuteranopia (green-blind)
#635B33
Tritanopia (blue-blind)
#0C685D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #226b2f;
/* rgb */ color: rgb(34, 107, 47);
/* oklch */ color: oklch(46.8% 0.117 146.6);
Tailwind
colors: {
  custom: {
    50: '#679669',
    500: '#226b2f',
    950: '#000000',
  },
}
SCSS
$custom: #226b2f;
$custom-light: #679669;
$custom-dark: #000000;
JSON
{
  "hex": "#226b2f",
  "rgb": {
    "r": 34,
    "g": 107,
    "b": 47
  },
  "hsl": {
    "h": 130.685,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.46783,
    "c": 0.11738,
    "h": 146.6
  },
  "luminance": 0.11061
}

Semantic roles & 50–950 ramp

primary
#226B2F
secondary
#9F4A90
accent
#4DC2DB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #226B2F

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

Preview Lab → · Contrast checker → · Palette generator →

#226B2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva