#228730#228730

#228730 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.154 H 145.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#228730
RGBrgb(34, 135, 48)
HSLhsl(128, 60%, 33%)
HSVhsv(128, 75%, 53%)
CMYKcmyk(74.8%, 0%, 64.4%, 47.1%)
CIE-LABlab(49.35, -46.78, 37.74)
CIE-LCHlch(49.35, 60.10, 141.11°)
OKLaboklab(54.79% -0.1263 0.0882)
OKLCHoklch(54.79% 0.154 145.1)
XYZxyz(9.8565, 17.8803, 5.7275)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228730 #872279
analogous
#468722 #228730 #228762
triadic
#228730 #302287 #873022
tetradic
#228730 #224687 #872279 #876222
square
#228730 #224687 #872279 #876222
split-complementary
#228730 #622287 #872246
monochromatic
#09250D #16561F #228730 #2EB841 #50D362

Accessibility & contrast

On white

4.59
#228730 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#228730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228730
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228730#FFFFFF#000000##FFFFFF
##2287301.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A26
Deuteranopia (green-blind)
#7E7237
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228730;
/* rgb */ color: rgb(34, 135, 48);
/* oklch */ color: oklch(54.8% 0.154 145.1);
Tailwind
colors: {
  custom: {
    50: '#6eab6c',
    500: '#228730',
    950: '#000000',
  },
}
SCSS
$custom: #228730;
$custom-light: #6eab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#228730",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 48
  },
  "hsl": {
    "h": 128.317,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54787,
    "c": 0.15406,
    "h": 145.1
  },
  "luminance": 0.17881
}

Semantic roles & 50–950 ramp

primary
#228730
secondary
#B74EA8
accent
#45CDE3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228730

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

Preview Lab → · Contrast checker → · Palette generator →

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