#227825#227825

#227825 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.144 H 143.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#227825
RGBrgb(34, 120, 37)
HSLhsl(122, 56%, 30%)
HSVhsv(122, 72%, 47%)
CMYKcmyk(71.7%, 0%, 69.2%, 52.9%)
CIE-LABlab(44.10, -42.60, 36.98)
CIE-LCHlch(44.10, 56.41, 139.04°)
OKLaboklab(50.4% -0.1155 0.0854)
OKLCHoklch(50.4% 0.144 143.5)
XYZxyz(7.7096, 13.9058, 4.0277)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227825 #782275
analogous
#4A7822 #227825 #227850
triadic
#227825 #252278 #782522
tetradic
#227825 #224A78 #782275 #785022
square
#227825 #224A78 #782275 #785022
split-complementary
#227825 #502278 #78224A
monochromatic
#071908 #144816 #227825 #30A834 #49CB4E

Accessibility & contrast

On white

5.55
#227825 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#227825 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227825
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227825#FFFFFF#000000##FFFFFF
##2278251.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C1A
Deuteranopia (green-blind)
#70662D
Tritanopia (blue-blind)
#087567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #227825;
/* rgb */ color: rgb(34, 120, 37);
/* oklch */ color: oklch(50.4% 0.144 143.5);
Tailwind
colors: {
  custom: {
    50: '#6ba064',
    500: '#227825',
    950: '#000000',
  },
}
SCSS
$custom: #227825;
$custom-light: #6ba064;
$custom-dark: #000000;
JSON
{
  "hex": "#227825",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 37
  },
  "hsl": {
    "h": 122.093,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50399,
    "c": 0.14364,
    "h": 143.5
  },
  "luminance": 0.13907
}

Semantic roles & 50–950 ramp

primary
#227825
secondary
#AB4BA8
accent
#49DADF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #227825

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

Preview Lab → · Contrast checker → · Palette generator →

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