#226830#226830

#226830 is a mid, moderate green. Relative luminance 0.105; OKLCH L 45.9% C 0.112 H 147.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#226830
RGBrgb(34, 104, 48)
HSLhsl(132, 51%, 27%)
HSVhsv(132, 67%, 41%)
CMYKcmyk(67.3%, 0%, 53.8%, 59.2%)
CIE-LABlab(38.64, -34.88, 25.12)
CIE-LCHlch(38.64, 42.98, 144.24°)
OKLaboklab(45.93% -0.0942 0.0607)
OKLCHoklch(45.93% 0.112 147.2)
XYZxyz(6.1431, 10.4535, 4.4897)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226830 #68225A
analogous
#376822 #226830 #226853
triadic
#226830 #302268 #683022
tetradic
#226830 #223768 #68225A #685322
square
#226830 #223768 #68225A #685322
split-complementary
#226830 #532268 #682237
monochromatic
#08170B #133A1B #226830 #319645 #43C25C

Accessibility & contrast

On white

6.79
#226830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#226830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226830
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226830#FFFFFF#000000##FFFFFF
##2268301.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695F2B
Deuteranopia (green-blind)
#615934
Tritanopia (blue-blind)
#0D665B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #226830;
/* rgb */ color: rgb(34, 104, 48);
/* oklch */ color: oklch(45.9% 0.112 147.2);
Tailwind
colors: {
  custom: {
    50: '#669469',
    500: '#226830',
    950: '#000000',
  },
}
SCSS
$custom: #226830;
$custom-light: #669469;
$custom-dark: #000000;
JSON
{
  "hex": "#226830",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 132,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.45932,
    "c": 0.11205,
    "h": 147.2
  },
  "luminance": 0.10454
}

Semantic roles & 50–950 ramp

primary
#226830
secondary
#9C4A8B
accent
#4EBEDA
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #226830

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

Preview Lab → · Contrast checker → · Palette generator →

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