#226834#226834

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

Color values

HEX#226834
RGBrgb(34, 104, 52)
HSLhsl(135, 51%, 27%)
HSVhsv(135, 67%, 41%)
CMYKcmyk(67.3%, 0%, 50%, 59.2%)
CIE-LABlab(38.70, -34.20, 22.97)
CIE-LCHlch(38.70, 41.20, 146.12°)
OKLaboklab(46% -0.0923 0.0561)
OKLCHoklch(46% 0.108 148.7)
XYZxyz(6.2294, 10.4880, 4.9442)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226834 #682256
analogous
#336822 #226834 #226857
triadic
#226834 #342268 #683422
tetradic
#226834 #223368 #682256 #685722
square
#226834 #223368 #682256 #685722
split-complementary
#226834 #572268 #682233
monochromatic
#08170C #133A1D #226834 #31964B #43C263

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##226834#FFFFFF#000000##FFFFFF
##2268341.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)
#695F30
Deuteranopia (green-blind)
#605938
Tritanopia (blue-blind)
#0B665C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #226834;
/* rgb */ color: rgb(34, 104, 52);
/* oklch */ color: oklch(46.0% 0.108 148.7);
Tailwind
colors: {
  custom: {
    50: '#66946c',
    500: '#226834',
    950: '#000000',
  },
}
SCSS
$custom: #226834;
$custom-light: #66946c;
$custom-dark: #000000;
JSON
{
  "hex": "#226834",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 52
  },
  "hsl": {
    "h": 135.429,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46001,
    "c": 0.10799,
    "h": 148.7
  },
  "luminance": 0.10489
}

Semantic roles & 50–950 ramp

primary
#226834
secondary
#9C4A87
accent
#4EB6DA
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #226834

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

Preview Lab → · Contrast checker → · Palette generator →

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