#228030#228030

#228030 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.145 H 145.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#228030
RGBrgb(34, 128, 48)
HSLhsl(129, 58%, 32%)
HSVhsv(129, 73%, 50%)
CMYKcmyk(73.4%, 0%, 62.5%, 49.8%)
CIE-LABlab(46.96, -44.24, 35.02)
CIE-LCHlch(46.96, 56.42, 141.64°)
OKLaboklab(52.81% -0.1194 0.0824)
OKLCHoklch(52.81% 0.145 145.4)
XYZxyz(8.9117, 15.9908, 5.4126)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228030 #802272
analogous
#438022 #228030 #22805F
triadic
#228030 #302280 #803022
tetradic
#228030 #224380 #802272 #805F22
square
#228030 #224380 #802272 #805F22
split-complementary
#228030 #5F2280 #802243
monochromatic
#081F0C #15501E #228030 #2FB042 #4DD060

Accessibility & contrast

On white

5.00
#228030 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#228030 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228030
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228030#FFFFFF#000000##FFFFFF
##2280301.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827427
Deuteranopia (green-blind)
#776C37
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #228030;
/* rgb */ color: rgb(34, 128, 48);
/* oklch */ color: oklch(52.8% 0.145 145.4);
Tailwind
colors: {
  custom: {
    50: '#6ca66b',
    500: '#228030',
    950: '#000000',
  },
}
SCSS
$custom: #228030;
$custom-light: #6ca66b;
$custom-dark: #000000;
JSON
{
  "hex": "#228030",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 48
  },
  "hsl": {
    "h": 128.936,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52808,
    "c": 0.14509,
    "h": 145.4
  },
  "luminance": 0.15992
}

Semantic roles & 50–950 ramp

primary
#228030
secondary
#B24BA3
accent
#47CAE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #228030

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

Preview Lab → · Contrast checker → · Palette generator →

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