#226914#226914

#226914 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.136 H 140.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#226914
RGBrgb(34, 105, 20)
HSLhsl(110, 68%, 25%)
HSVhsv(110, 81%, 41%)
CMYKcmyk(67.6%, 0%, 81%, 58.8%)
CIE-LABlab(38.71, -38.56, 38.42)
CIE-LCHlch(38.71, 54.44, 135.11°)
OKLaboklab(45.9% -0.1055 0.086)
OKLCHoklch(45.9% 0.136 140.8)
XYZxyz(5.8372, 10.4932, 2.3794)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226914 #5B1469
analogous
#4D6914 #226914 #146931
triadic
#226914 #142269 #691422
tetradic
#226914 #144D69 #5B1469 #693114
square
#226914 #144D69 #5B1469 #693114
split-complementary
#226914 #311469 #69144D
monochromatic
#081A05 #11360A #226914 #339C1E #43D028

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##226914#FFFFFF#000000##FFFFFF
##2269141.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)
#6C5F02
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#166559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #226914;
/* rgb */ color: rgb(34, 105, 20);
/* oklch */ color: oklch(45.9% 0.136 140.8);
Tailwind
colors: {
  custom: {
    50: '#689559',
    500: '#226914',
    950: '#000000',
  },
}
SCSS
$custom: #226914;
$custom-light: #689559;
$custom-dark: #000000;
JSON
{
  "hex": "#226914",
  "rgb": {
    "r": 34,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 110.118,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45897,
    "c": 0.13616,
    "h": 140.8
  },
  "luminance": 0.10494
}

Semantic roles & 50–950 ramp

primary
#226914
secondary
#8F39A0
accent
#3DEBCE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #226914

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

Preview Lab → · Contrast checker → · Palette generator →

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