#228526#228526

#228526 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.1% C 0.159 H 143.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#228526
RGBrgb(34, 133, 38)
HSLhsl(122, 59%, 33%)
HSVhsv(122, 74%, 52%)
CMYKcmyk(74.4%, 0%, 71.4%, 47.8%)
CIE-LABlab(48.58, -47.16, 41.34)
CIE-LCHlch(48.58, 62.72, 138.76°)
OKLaboklab(54.12% -0.1278 0.0947)
OKLCHoklch(54.12% 0.159 143.5)
XYZxyz(9.3965, 17.2540, 4.6685)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228526 #852281
analogous
#508522 #228526 #228557
triadic
#228526 #262285 #852622
tetradic
#228526 #225085 #852281 #855722
square
#228526 #225085 #852281 #855722
split-complementary
#228526 #572285 #852250
monochromatic
#09240A #165418 #228526 #2EB634 #4FD255

Accessibility & contrast

On white

4.72
#228526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#228526 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228526
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228526#FFFFFF#000000##FFFFFF
##2285261.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887818
Deuteranopia (green-blind)
#7D702F
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228526;
/* rgb */ color: rgb(34, 133, 38);
/* oklch */ color: oklch(54.1% 0.159 143.5);
Tailwind
colors: {
  custom: {
    50: '#6ea966',
    500: '#228526',
    950: '#000000',
  },
}
SCSS
$custom: #228526;
$custom-light: #6ea966;
$custom-dark: #000000;
JSON
{
  "hex": "#228526",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 38
  },
  "hsl": {
    "h": 122.424,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54118,
    "c": 0.15907,
    "h": 143.5
  },
  "luminance": 0.17255
}

Semantic roles & 50–950 ramp

primary
#228526
secondary
#B64DB1
accent
#45DCE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228526

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

Preview Lab → · Contrast checker → · Palette generator →

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