#226819#226819

#226819 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.132 H 141.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#226819
RGBrgb(34, 104, 25)
HSLhsl(113, 61%, 25%)
HSVhsv(113, 76%, 41%)
CMYKcmyk(67.3%, 0%, 76%, 59.2%)
CIE-LABlab(38.39, -37.77, 36.15)
CIE-LCHlch(38.39, 52.29, 136.25°)
OKLaboklab(45.64% -0.1031 0.0821)
OKLCHoklch(45.64% 0.132 141.5)
XYZxyz(5.7852, 10.3103, 2.6047)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226819 #5F1968
analogous
#496819 #226819 #196838
triadic
#226819 #192268 #681922
tetradic
#226819 #194968 #5F1968 #683819
square
#226819 #194968 #5F1968 #683819
split-complementary
#226819 #381968 #681949
monochromatic
#081906 #12370D #226819 #329925 #42CB31

Accessibility & contrast

On white

6.86
#226819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#226819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226819
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226819#FFFFFF#000000##FFFFFF
##2268191.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0B
Deuteranopia (green-blind)
#625821
Tritanopia (blue-blind)
#156558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #226819;
/* rgb */ color: rgb(34, 104, 25);
/* oklch */ color: oklch(45.6% 0.132 141.5);
Tailwind
colors: {
  custom: {
    50: '#67945b',
    500: '#226819',
    950: '#000000',
  },
}
SCSS
$custom: #226819;
$custom-light: #67945b;
$custom-dark: #000000;
JSON
{
  "hex": "#226819",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 25
  },
  "hsl": {
    "h": 113.165,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45644,
    "c": 0.13178,
    "h": 141.5
  },
  "luminance": 0.10311
}

Semantic roles & 50–950 ramp

primary
#226819
secondary
#933F9E
accent
#43E4D2
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #226819

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

Preview Lab → · Contrast checker → · Palette generator →

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