#226F2F#226F2F

#226F2F is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.123 H 146.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#226F2F
RGBrgb(34, 111, 47)
HSLhsl(130, 53%, 28%)
HSVhsv(130, 69%, 44%)
CMYKcmyk(69.4%, 0%, 57.7%, 56.5%)
CIE-LABlab(41.08, -37.88, 28.62)
CIE-LCHlch(41.08, 47.48, 142.93°)
OKLaboklab(47.94% -0.1023 0.0684)
OKLCHoklch(47.94% 0.123 146.2)
XYZxyz(6.8567, 11.9135, 4.6270)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226F2F #6F2262
analogous
#3B6F22 #226F2F #226F55
triadic
#226F2F #2F226F #6F2F22
tetradic
#226F2F #223B6F #6F2262 #6F5522
square
#226F2F #223B6F #6F2262 #6F5522
split-complementary
#226F2F #55226F #6F223B
monochromatic
#07170A #14401B #226F2F #309E43 #45C65B

Accessibility & contrast

On white

6.21
#226F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#226F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226F2F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226F2F#FFFFFF#000000##FFFFFF
##226F2F1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716529
Deuteranopia (green-blind)
#675E34
Tritanopia (blue-blind)
#096C61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #226f2f;
/* rgb */ color: rgb(34, 111, 47);
/* oklch */ color: oklch(47.9% 0.123 146.2);
Tailwind
colors: {
  custom: {
    50: '#689969',
    500: '#226f2f',
    950: '#000000',
  },
}
SCSS
$custom: #226f2f;
$custom-light: #689969;
$custom-dark: #000000;
JSON
{
  "hex": "#226f2f",
  "rgb": {
    "r": 34,
    "g": 111,
    "b": 47
  },
  "hsl": {
    "h": 130.13,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47936,
    "c": 0.12304,
    "h": 146.2
  },
  "luminance": 0.11914
}

Semantic roles & 50–950 ramp

primary
#226F2F
secondary
#A24A94
accent
#4BC4DD
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #226F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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