#228725#228725

#228725 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.162 H 143.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#228725
RGBrgb(34, 135, 37)
HSLhsl(122, 60%, 33%)
HSVhsv(122, 75%, 53%)
CMYKcmyk(74.8%, 0%, 72.6%, 47.1%)
CIE-LABlab(49.25, -47.95, 42.46)
CIE-LCHlch(49.25, 64.05, 138.47°)
OKLaboklab(54.68% -0.13 0.0969)
OKLCHoklch(54.68% 0.162 143.3)
XYZxyz(9.6570, 17.8005, 4.6768)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228725 #872284
analogous
#518722 #228725 #228757
triadic
#228725 #252287 #872522
tetradic
#228725 #225187 #872284 #875722
square
#228725 #225187 #872284 #875722
split-complementary
#228725 #572287 #872251
monochromatic
#09250A #165618 #228725 #2EB832 #50D354

Accessibility & contrast

On white

4.60
#228725 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#228725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228725
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228725#FFFFFF#000000##FFFFFF
##2287251.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A15
Deuteranopia (green-blind)
#7E722F
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228725;
/* rgb */ color: rgb(34, 135, 37);
/* oklch */ color: oklch(54.7% 0.162 143.3);
Tailwind
colors: {
  custom: {
    50: '#6eab65',
    500: '#228725',
    950: '#000000',
  },
}
SCSS
$custom: #228725;
$custom-light: #6eab65;
$custom-dark: #000000;
JSON
{
  "hex": "#228725",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 37
  },
  "hsl": {
    "h": 121.782,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54675,
    "c": 0.16215,
    "h": 143.3
  },
  "luminance": 0.17802
}

Semantic roles & 50–950 ramp

primary
#228725
secondary
#B74EB3
accent
#45DEE3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228725

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

Preview Lab → · Contrast checker → · Palette generator →

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