#226F23#226F23

#226F23 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.134 H 143.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#226F23
RGBrgb(34, 111, 35)
HSLhsl(121, 53%, 28%)
HSVhsv(121, 69%, 44%)
CMYKcmyk(69.4%, 0%, 68.5%, 56.5%)
CIE-LABlab(40.94, -39.45, 34.45)
CIE-LCHlch(40.94, 52.37, 138.87°)
OKLaboklab(47.78% -0.1071 0.0798)
OKLCHoklch(47.78% 0.134 143.3)
XYZxyz(6.6471, 11.8296, 3.5228)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226F23 #6F226E
analogous
#476F22 #226F23 #226F49
triadic
#226F23 #23226F #6F2322
tetradic
#226F23 #22476F #6F226E #6F4922
square
#226F23 #22476F #6F226E #6F4922
split-complementary
#226F23 #49226F #6F2247
monochromatic
#071707 #144014 #226F23 #309E32 #45C647

Accessibility & contrast

On white

6.24
#226F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#226F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226F23
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226F23#FFFFFF#000000##FFFFFF
##226F231.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716419
Deuteranopia (green-blind)
#685E2A
Tritanopia (blue-blind)
#0F6C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #226f23;
/* rgb */ color: rgb(34, 111, 35);
/* oklch */ color: oklch(47.8% 0.134 143.3);
Tailwind
colors: {
  custom: {
    50: '#699962',
    500: '#226f23',
    950: '#000000',
  },
}
SCSS
$custom: #226f23;
$custom-light: #699962;
$custom-dark: #000000;
JSON
{
  "hex": "#226f23",
  "rgb": {
    "r": 34,
    "g": 111,
    "b": 35
  },
  "hsl": {
    "h": 120.779,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47782,
    "c": 0.13352,
    "h": 143.3
  },
  "luminance": 0.1183
}

Semantic roles & 50–950 ramp

primary
#226F23
secondary
#A24AA1
accent
#4BDBDD
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #226F23

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

Preview Lab → · Contrast checker → · Palette generator →

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