#228629#228629

#228629 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.158 H 143.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#228629
RGBrgb(34, 134, 41)
HSLhsl(124, 60%, 33%)
HSVhsv(124, 75%, 53%)
CMYKcmyk(74.6%, 0%, 69.4%, 47.5%)
CIE-LABlab(48.94, -47.21, 40.45)
CIE-LCHlch(48.94, 62.17, 139.41°)
OKLaboklab(54.43% -0.1278 0.0932)
OKLCHoklch(54.43% 0.158 143.9)
XYZxyz(9.5844, 17.5493, 4.9796)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228629 #86227F
analogous
#4D8622 #228629 #22865B
triadic
#228629 #292286 #862922
tetradic
#228629 #224D86 #86227F #865B22
square
#228629 #224D86 #86227F #865B22
split-complementary
#228629 #5B2286 #86224D
monochromatic
#09240B #16551A #228629 #2EB738 #50D359

Accessibility & contrast

On white

4.66
#228629 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#228629 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228629
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228629#FFFFFF#000000##FFFFFF
##2286291.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89791C
Deuteranopia (green-blind)
#7D7132
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228629;
/* rgb */ color: rgb(34, 134, 41);
/* oklch */ color: oklch(54.4% 0.158 143.9);
Tailwind
colors: {
  custom: {
    50: '#6eaa68',
    500: '#228629',
    950: '#000000',
  },
}
SCSS
$custom: #228629;
$custom-light: #6eaa68;
$custom-dark: #000000;
JSON
{
  "hex": "#228629",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 41
  },
  "hsl": {
    "h": 124.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5443,
    "c": 0.15816,
    "h": 143.9
  },
  "luminance": 0.1755
}

Semantic roles & 50–950 ramp

primary
#228629
secondary
#B64EAF
accent
#45D8E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228629

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

Preview Lab → · Contrast checker → · Palette generator →

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