#226933#226933

#226933 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.3% C 0.110 H 148.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#226933
RGBrgb(34, 105, 51)
HSLhsl(134, 51%, 27%)
HSVhsv(134, 68%, 41%)
CMYKcmyk(67.6%, 0%, 51.4%, 58.8%)
CIE-LABlab(39.04, -34.80, 23.95)
CIE-LCHlch(39.04, 42.24, 145.47°)
OKLaboklab(46.27% -0.0939 0.0582)
OKLCHoklch(46.27% 0.11 148.2)
XYZxyz(6.3083, 10.6816, 4.8606)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226933 #692258
analogous
#356922 #226933 #226957
triadic
#226933 #332269 #693322
tetradic
#226933 #223569 #692258 #695722
square
#226933 #223569 #692258 #695722
split-complementary
#226933 #572269 #692235
monochromatic
#07170B #133B1D #226933 #319749 #43C262

Accessibility & contrast

On white

6.70
#226933 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#226933 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##226933#FFFFFF#000000##FFFFFF
##2269331.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)
#6A602F
Deuteranopia (green-blind)
#615937
Tritanopia (blue-blind)
#0B675C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #226933;
/* rgb */ color: rgb(34, 105, 51);
/* oklch */ color: oklch(46.3% 0.110 148.2);
Tailwind
colors: {
  custom: {
    50: '#66956c',
    500: '#226933',
    950: '#000000',
  },
}
SCSS
$custom: #226933;
$custom-light: #66956c;
$custom-dark: #000000;
JSON
{
  "hex": "#226933",
  "rgb": {
    "r": 34,
    "g": 105,
    "b": 51
  },
  "hsl": {
    "h": 134.366,
    "s": 51.079,
    "l": 27.255
  },
  "oklch": {
    "l": 0.46271,
    "c": 0.11049,
    "h": 148.2
  },
  "luminance": 0.10682
}

Semantic roles & 50–950 ramp

primary
#226933
secondary
#9D4A89
accent
#4DB9DB
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #226933

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

Preview Lab → · Contrast checker → · Palette generator →

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