#226A0F#226A0F

#226A0F is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.2% C 0.140 H 140.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#226A0F
RGBrgb(34, 106, 15)
HSLhsl(107, 75%, 24%)
HSVhsv(107, 86%, 42%)
CMYKcmyk(67.9%, 0%, 85.8%, 58.4%)
CIE-LABlab(39.04, -39.27, 40.40)
CIE-LCHlch(39.04, 56.34, 134.19°)
OKLaboklab(46.16% -0.1077 0.0894)
OKLCHoklch(46.16% 0.14 140.3)
XYZxyz(5.8997, 10.6821, 2.2028)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226A0F #570F6A
analogous
#4F6A0F #226A0F #0F6A29
triadic
#226A0F #0F226A #6A0F22
tetradic
#226A0F #0F4F6A #570F6A #6A290F
square
#226A0F #0F4F6A #570F6A #6A290F
split-complementary
#226A0F #290F6A #6A0F4F
monochromatic
#091B04 #113407 #226A0F #33A017 #44D51E

Accessibility & contrast

On white

6.70
#226A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#226A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226A0F
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226A0F#FFFFFF#000000##FFFFFF
##226A0F1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#16665A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #226a0f;
/* rgb */ color: rgb(34, 106, 15);
/* oklch */ color: oklch(46.2% 0.140 140.3);
Tailwind
colors: {
  custom: {
    50: '#689557',
    500: '#226a0f',
    950: '#000000',
  },
}
SCSS
$custom: #226a0f;
$custom-light: #689557;
$custom-dark: #000000;
JSON
{
  "hex": "#226a0f",
  "rgb": {
    "r": 34,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 107.473,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46159,
    "c": 0.13998,
    "h": 140.3
  },
  "luminance": 0.10683
}

Semantic roles & 50–950 ramp

primary
#226A0F
secondary
#8B32A2
accent
#36F2CB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #226A0F

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

Preview Lab → · Contrast checker → · Palette generator →

#226A0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva