#229042#229042

#229042 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.5% C 0.150 H 148.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#229042
RGBrgb(34, 144, 66)
HSLhsl(137, 62%, 35%)
HSVhsv(137, 76%, 56%)
CMYKcmyk(76.4%, 0%, 54.2%, 43.5%)
CIE-LABlab(52.60, -47.55, 32.68)
CIE-LCHlch(52.60, 57.70, 145.50°)
OKLaboklab(57.54% -0.1279 0.0786)
OKLCHoklch(57.54% 0.15 148.4)
XYZxyz(11.6154, 20.6786, 8.5324)
Luminance0.2068 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229042 #902270
analogous
#399022 #229042 #229079
triadic
#229042 #422290 #904222
tetradic
#229042 #223990 #902270 #907922
square
#229042 #223990 #902270 #907922
split-complementary
#229042 #792290 #902239
monochromatic
#0B2D15 #165E2B #229042 #2EC259 #55D77B

Accessibility & contrast

On white

4.09
#229042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#229042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229042
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229042#FFFFFF#000000##000000
##2290421.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91833B
Deuteranopia (green-blind)
#857A48
Tritanopia (blue-blind)
#008D7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #229042;
/* rgb */ color: rgb(34, 144, 66);
/* oklch */ color: oklch(57.5% 0.150 148.4);
Tailwind
colors: {
  custom: {
    50: '#6fb278',
    500: '#229042',
    950: '#000000',
  },
}
SCSS
$custom: #229042;
$custom-light: #6fb278;
$custom-dark: #000000;
JSON
{
  "hex": "#229042",
  "rgb": {
    "r": 34,
    "g": 144,
    "b": 66
  },
  "hsl": {
    "h": 137.455,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57543,
    "c": 0.15012,
    "h": 148.4
  },
  "luminance": 0.2068
}

Semantic roles & 50–950 ramp

primary
#229042
secondary
#BB539D
accent
#43B6E5
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #229042

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

Preview Lab → · Contrast checker → · Palette generator →

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