#2F7B53#2F7B53

#2F7B53 is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.4% C 0.099 H 157.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2F7B53
RGBrgb(47, 123, 83)
HSLhsl(148, 45%, 33%)
HSVhsv(148, 62%, 48%)
CMYKcmyk(61.8%, 0%, 32.5%, 51.8%)
CIE-LABlab(46.17, -33.39, 15.08)
CIE-LCHlch(46.17, 36.63, 155.69°)
OKLaboklab(52.43% -0.091 0.0382)
OKLCHoklch(52.43% 0.099 157.2)
XYZxyz(9.8157, 15.3938, 10.6360)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B53 #7B2F57
analogous
#317B2F #2F7B53 #2F7B79
triadic
#2F7B53 #532F7B #7B532F
tetradic
#2F7B53 #2F317B #7B2F57 #7B792F
square
#2F7B53 #2F317B #7B2F57 #7B792F
split-complementary
#2F7B53 #792F7B #7B2F31
monochromatic
#0D2217 #1E4F35 #2F7B53 #40A771 #62C390

Accessibility & contrast

On white

5.15
#2F7B53 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2F7B53 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B53
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B53#FFFFFF#000000##FFFFFF
##2F7B531.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7251
Deuteranopia (green-blind)
#706A56
Tritanopia (blue-blind)
#107A70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7b53;
/* rgb */ color: rgb(47, 123, 83);
/* oklch */ color: oklch(52.4% 0.099 157.2);
Tailwind
colors: {
  custom: {
    50: '#6fa283',
    500: '#2f7b53',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b53;
$custom-light: #6fa283;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b53",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 83
  },
  "hsl": {
    "h": 148.421,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52433,
    "c": 0.09865,
    "h": 157.2
  },
  "luminance": 0.15395
}

Semantic roles & 50–950 ramp

primary
#2F7B53
secondary
#AA5C85
accent
#5397D4
background
#F7FAF8
surface
#EDF3EF
border
#C8CDCA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F7B53

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

Preview Lab → · Contrast checker → · Palette generator →

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