#226823#226823

#226823 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.7% C 0.124 H 143.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#226823
RGBrgb(34, 104, 35)
HSLhsl(121, 51%, 27%)
HSVhsv(121, 67%, 41%)
CMYKcmyk(67.3%, 0%, 66.3%, 59.2%)
CIE-LABlab(38.48, -36.72, 31.72)
CIE-LCHlch(38.48, 48.53, 139.18°)
OKLaboklab(45.75% -0.0997 0.074)
OKLCHoklch(45.75% 0.124 143.4)
XYZxyz(5.9130, 10.3615, 3.2781)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226823 #682267
analogous
#446822 #226823 #226846
triadic
#226823 #232268 #682322
tetradic
#226823 #224468 #682267 #684622
square
#226823 #224468 #682267 #684622
split-complementary
#226823 #462268 #682244
monochromatic
#081708 #133A13 #226823 #319633 #43C245

Accessibility & contrast

On white

6.84
#226823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#226823 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226823
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226823#FFFFFF#000000##FFFFFF
##2268231.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1B
Deuteranopia (green-blind)
#625829
Tritanopia (blue-blind)
#136559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #226823;
/* rgb */ color: rgb(34, 104, 35);
/* oklch */ color: oklch(45.7% 0.124 143.4);
Tailwind
colors: {
  custom: {
    50: '#679461',
    500: '#226823',
    950: '#000000',
  },
}
SCSS
$custom: #226823;
$custom-light: #679461;
$custom-dark: #000000;
JSON
{
  "hex": "#226823",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 35
  },
  "hsl": {
    "h": 120.857,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.45747,
    "c": 0.12414,
    "h": 143.4
  },
  "luminance": 0.10362
}

Semantic roles & 50–950 ramp

primary
#226823
secondary
#9C4A9B
accent
#4ED8DA
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #226823

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

Preview Lab → · Contrast checker → · Palette generator →

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