#228635#228635

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

Color values

HEX#228635
RGBrgb(34, 134, 53)
HSLhsl(131, 60%, 33%)
HSVhsv(131, 75%, 53%)
CMYKcmyk(74.6%, 0%, 60.4%, 47.5%)
CIE-LABlab(49.06, -45.78, 35.01)
CIE-LCHlch(49.06, 57.63, 142.59°)
OKLaboklab(54.57% -0.1234 0.0828)
OKLCHoklch(54.57% 0.149 146.1)
XYZxyz(9.8267, 17.6462, 6.2556)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228635 #862273
analogous
#418622 #228635 #228667
triadic
#228635 #352286 #863522
tetradic
#228635 #224186 #862273 #866722
square
#228635 #224186 #862273 #866722
split-complementary
#228635 #672286 #862241
monochromatic
#09240E #165522 #228635 #2EB748 #50D369

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228635#FFFFFF#000000##FFFFFF
##2286351.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)
#88792D
Deuteranopia (green-blind)
#7C713C
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228635;
/* rgb */ color: rgb(34, 134, 53);
/* oklch */ color: oklch(54.6% 0.149 146.1);
Tailwind
colors: {
  custom: {
    50: '#6daa6f',
    500: '#228635',
    950: '#000000',
  },
}
SCSS
$custom: #228635;
$custom-light: #6daa6f;
$custom-dark: #000000;
JSON
{
  "hex": "#228635",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 53
  },
  "hsl": {
    "h": 131.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54567,
    "c": 0.14862,
    "h": 146.1
  },
  "luminance": 0.17647
}

Semantic roles & 50–950 ramp

primary
#228635
secondary
#B64EA2
accent
#45C5E3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228635

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

Preview Lab → · Contrast checker → · Palette generator →

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