#2C834E#2C834E

#2C834E is a mid, moderate green. Relative luminance 0.173; OKLCH L 54.4% C 0.117 H 153.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2C834E
RGBrgb(44, 131, 78)
HSLhsl(143, 50%, 34%)
HSVhsv(143, 66%, 51%)
CMYKcmyk(66.4%, 0%, 40.5%, 48.6%)
CIE-LABlab(48.66, -38.56, 21.26)
CIE-LCHlch(48.66, 44.03, 151.13°)
OKLaboklab(54.42% -0.1042 0.053)
OKLCHoklch(54.42% 0.117 153.1)
XYZxyz(10.5293, 17.3170, 9.9939)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C834E #832C61
analogous
#36832C #2C834E #2C837A
triadic
#2C834E #4E2C83 #834E2C
tetradic
#2C834E #2C3683 #832C61 #837A2C
square
#2C834E #2C3683 #832C61 #837A2C
split-complementary
#2C834E #7A2C83 #832C36
monochromatic
#0D2717 #1D5533 #2C834E #3BB169 #60CA89

Accessibility & contrast

On white

4.70
#2C834E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2C834E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C834E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C834E#FFFFFF#000000##FFFFFF
##2C834E1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83784A
Deuteranopia (green-blind)
#787051
Tritanopia (blue-blind)
#028176
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c834e;
/* rgb */ color: rgb(44, 131, 78);
/* oklch */ color: oklch(54.4% 0.117 153.1);
Tailwind
colors: {
  custom: {
    50: '#70a880',
    500: '#2c834e',
    950: '#000000',
  },
}
SCSS
$custom: #2c834e;
$custom-light: #70a880;
$custom-dark: #000000;
JSON
{
  "hex": "#2c834e",
  "rgb": {
    "r": 44,
    "g": 131,
    "b": 78
  },
  "hsl": {
    "h": 143.448,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54418,
    "c": 0.11692,
    "h": 153.1
  },
  "luminance": 0.17318
}

Semantic roles & 50–950 ramp

primary
#2C834E
secondary
#B05B8F
accent
#4FA3D9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2C834E

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

Preview Lab → · Contrast checker → · Palette generator →

#2C834E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva