#228634#228634

#228634 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.149 H 145.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#228634
RGBrgb(34, 134, 52)
HSLhsl(131, 60%, 33%)
HSVhsv(131, 75%, 53%)
CMYKcmyk(74.6%, 0%, 61.2%, 47.5%)
CIE-LABlab(49.05, -45.91, 35.48)
CIE-LCHlch(49.05, 58.02, 142.30°)
OKLaboklab(54.55% -0.1238 0.0837)
OKLCHoklch(54.55% 0.149 145.9)
XYZxyz(9.8039, 17.6371, 6.1358)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228634 #862274
analogous
#428622 #228634 #228666
triadic
#228634 #342286 #863422
tetradic
#228634 #224286 #862274 #866622
square
#228634 #224286 #862274 #866622
split-complementary
#228634 #662286 #862242
monochromatic
#09240E #165521 #228634 #2EB747 #50D367

Accessibility & contrast

On white

4.64
#228634 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#228634 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228634
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228634#FFFFFF#000000##FFFFFF
##2286341.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88792B
Deuteranopia (green-blind)
#7C713B
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228634;
/* rgb */ color: rgb(34, 134, 52);
/* oklch */ color: oklch(54.6% 0.149 145.9);
Tailwind
colors: {
  custom: {
    50: '#6daa6e',
    500: '#228634',
    950: '#000000',
  },
}
SCSS
$custom: #228634;
$custom-light: #6daa6e;
$custom-dark: #000000;
JSON
{
  "hex": "#228634",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 52
  },
  "hsl": {
    "h": 130.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54554,
    "c": 0.14947,
    "h": 145.9
  },
  "luminance": 0.17638
}

Semantic roles & 50–950 ramp

primary
#228634
secondary
#B64EA3
accent
#45C6E3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228634

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

Preview Lab → · Contrast checker → · Palette generator →

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