#2F7833#2F7833

#2F7833 is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.126 H 144.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2F7833
RGBrgb(47, 120, 51)
HSLhsl(123, 44%, 33%)
HSVhsv(123, 61%, 47%)
CMYKcmyk(60.8%, 0%, 57.5%, 52.9%)
CIE-LABlab(44.63, -37.85, 30.87)
CIE-LCHlch(44.63, 48.84, 140.80°)
OKLaboklab(50.99% -0.1026 0.0736)
OKLCHoklch(50.99% 0.126 144.4)
XYZxyz(8.4858, 14.2755, 5.4396)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7833 #782F74
analogous
#4F782F #2F7833 #2F7858
triadic
#2F7833 #332F78 #78332F
tetradic
#2F7833 #2F4F78 #782F74 #78582F
square
#2F7833 #2F4F78 #782F74 #78582F
split-complementary
#2F7833 #582F78 #782F4F
monochromatic
#0D200E #1E4C20 #2F7833 #40A446 #60C166

Accessibility & contrast

On white

5.45
#2F7833 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2F7833 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7833
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7833#FFFFFF#000000##FFFFFF
##2F78331.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D2C
Deuteranopia (green-blind)
#716738
Tritanopia (blue-blind)
#217569
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7833;
/* rgb */ color: rgb(47, 120, 51);
/* oklch */ color: oklch(51.0% 0.126 144.4);
Tailwind
colors: {
  custom: {
    50: '#70a06d',
    500: '#2f7833',
    950: '#000000',
  },
}
SCSS
$custom: #2f7833;
$custom-light: #70a06d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7833",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 51
  },
  "hsl": {
    "h": 123.288,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.50991,
    "c": 0.12629,
    "h": 144.4
  },
  "luminance": 0.14276
}

Semantic roles & 50–950 ramp

primary
#2F7833
secondary
#A85BA4
accent
#54CCD3
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2F7833

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

Preview Lab → · Contrast checker → · Palette generator →

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