#226833#226833

#226833 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.0% C 0.109 H 148.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#226833
RGBrgb(34, 104, 51)
HSLhsl(135, 51%, 27%)
HSVhsv(135, 67%, 41%)
CMYKcmyk(67.3%, 0%, 51%, 59.2%)
CIE-LABlab(38.69, -34.38, 23.51)
CIE-LCHlch(38.69, 41.65, 145.64°)
OKLaboklab(45.98% -0.0928 0.0572)
OKLCHoklch(45.98% 0.109 148.3)
XYZxyz(6.2071, 10.4791, 4.8269)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226833 #682257
analogous
#346822 #226833 #226856
triadic
#226833 #332268 #683322
tetradic
#226833 #223468 #682257 #685622
square
#226833 #223468 #682257 #685622
split-complementary
#226833 #562268 #682234
monochromatic
#08170B #133A1C #226833 #31964A #43C262

Accessibility & contrast

On white

6.78
#226833 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#226833 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226833
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226833#FFFFFF#000000##FFFFFF
##2268331.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695F2F
Deuteranopia (green-blind)
#605937
Tritanopia (blue-blind)
#0C665C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #226833;
/* rgb */ color: rgb(34, 104, 51);
/* oklch */ color: oklch(46.0% 0.109 148.3);
Tailwind
colors: {
  custom: {
    50: '#66946c',
    500: '#226833',
    950: '#000000',
  },
}
SCSS
$custom: #226833;
$custom-light: #66946c;
$custom-dark: #000000;
JSON
{
  "hex": "#226833",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 51
  },
  "hsl": {
    "h": 134.571,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.45983,
    "c": 0.10902,
    "h": 148.3
  },
  "luminance": 0.1048
}

Semantic roles & 50–950 ramp

primary
#226833
secondary
#9C4A88
accent
#4EB8DA
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #226833

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

Preview Lab → · Contrast checker → · Palette generator →

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