#226926#226926

#226926 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.123 H 144.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#226926
RGBrgb(34, 105, 38)
HSLhsl(123, 51%, 27%)
HSVhsv(123, 68%, 41%)
CMYKcmyk(67.6%, 0%, 63.8%, 58.8%)
CIE-LABlab(38.87, -36.75, 30.67)
CIE-LCHlch(38.87, 47.86, 140.15°)
OKLaboklab(46.08% -0.0996 0.0721)
OKLCHoklch(46.08% 0.123 144.1)
XYZxyz(6.0607, 10.5826, 3.5566)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226926 #692265
analogous
#426922 #226926 #226949
triadic
#226926 #262269 #692622
tetradic
#226926 #224269 #692265 #694922
square
#226926 #224269 #692265 #694922
split-complementary
#226926 #492269 #692242
monochromatic
#071708 #133B15 #226926 #319737 #43C24A

Accessibility & contrast

On white

6.74
#226926 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#226926 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226926
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226926#FFFFFF#000000##FFFFFF
##2269261.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F1F
Deuteranopia (green-blind)
#62592B
Tritanopia (blue-blind)
#11665B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #226926;
/* rgb */ color: rgb(34, 105, 38);
/* oklch */ color: oklch(46.1% 0.123 144.1);
Tailwind
colors: {
  custom: {
    50: '#679563',
    500: '#226926',
    950: '#000000',
  },
}
SCSS
$custom: #226926;
$custom-light: #679563;
$custom-dark: #000000;
JSON
{
  "hex": "#226926",
  "rgb": {
    "r": 34,
    "g": 105,
    "b": 38
  },
  "hsl": {
    "h": 123.38,
    "s": 51.079,
    "l": 27.255
  },
  "oklch": {
    "l": 0.46075,
    "c": 0.12292,
    "h": 144.1
  },
  "luminance": 0.10583
}

Semantic roles & 50–950 ramp

primary
#226926
secondary
#9D4A98
accent
#4DD3DB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #226926

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

Preview Lab → · Contrast checker → · Palette generator →

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