#2B7954#2B7954

#2B7954 is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.8% C 0.097 H 159.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2B7954
RGBrgb(43, 121, 84)
HSLhsl(152, 48%, 32%)
HSVhsv(152, 64%, 47%)
CMYKcmyk(64.5%, 0%, 30.6%, 52.5%)
CIE-LABlab(45.40, -33.15, 13.42)
CIE-LCHlch(45.40, 35.76, 157.96°)
OKLaboklab(51.77% -0.0905 0.0341)
OKLCHoklch(51.77% 0.097 159.4)
XYZxyz(9.4330, 14.8275, 10.7507)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7954 #792B50
analogous
#2B792D #2B7954 #2B7779
triadic
#2B7954 #542B79 #79542B
tetradic
#2B7954 #2D2B79 #792B50 #77792B
square
#2B7954 #2D2B79 #792B50 #77792B
split-complementary
#2B7954 #792B77 #792D2B
monochromatic
#0B1F15 #1B4C35 #2B7954 #3BA673 #5AC492

Accessibility & contrast

On white

5.30
#2B7954 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2B7954 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7954
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7954#FFFFFF#000000##FFFFFF
##2B79541.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787052
Deuteranopia (green-blind)
#6D6856
Tritanopia (blue-blind)
#00786F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b7954;
/* rgb */ color: rgb(43, 121, 84);
/* oklch */ color: oklch(51.8% 0.097 159.4);
Tailwind
colors: {
  custom: {
    50: '#6da084',
    500: '#2b7954',
    950: '#000000',
  },
}
SCSS
$custom: #2b7954;
$custom-light: #6da084;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7954",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 84
  },
  "hsl": {
    "h": 151.538,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51772,
    "c": 0.09675,
    "h": 159.4
  },
  "luminance": 0.14828
}

Semantic roles & 50–950 ramp

primary
#2B7954
secondary
#AA567E
accent
#5190D7
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #2B7954

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

Preview Lab → · Contrast checker → · Palette generator →

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