#2F8F2D#2F8F2D

#2F8F2D is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.162 H 142.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2F8F2D
RGBrgb(47, 143, 45)
HSLhsl(119, 52%, 37%)
HSVhsv(119, 69%, 56%)
CMYKcmyk(67.1%, 0%, 68.5%, 43.9%)
CIE-LABlab(52.33, -47.45, 42.46)
CIE-LCHlch(52.33, 63.67, 138.18°)
OKLaboklab(57.33% -0.129 0.0978)
OKLCHoklch(57.33% 0.162 142.8)
XYZxyz(11.4677, 20.4375, 5.8226)
Luminance0.2044 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F2D #8D2D8F
analogous
#608F2D #2F8F2D #2D8F5C
triadic
#2F8F2D #2D2F8F #8F2D2F
tetradic
#2F8F2D #2D608F #8D2D8F #8F5C2D
square
#2F8F2D #2D608F #8D2D8F #8F5C2D
split-complementary
#2F8F2D #5C2D8F #8F2D60
monochromatic
#103210 #20601E #2F8F2D #3EBE3C #69CF67

Accessibility & contrast

On white

4.13
#2F8F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#2F8F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F2D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F2D#FFFFFF#000000##000000
##2F8F2D1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928220
Deuteranopia (green-blind)
#877A36
Tritanopia (blue-blind)
#198B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f8f2d;
/* rgb */ color: rgb(47, 143, 45);
/* oklch */ color: oklch(57.3% 0.162 142.8);
Tailwind
colors: {
  custom: {
    50: '#75b16b',
    500: '#2f8f2d',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f2d;
$custom-light: #75b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f2d",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 118.776,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57333,
    "c": 0.16185,
    "h": 142.8
  },
  "luminance": 0.20439
}

Semantic roles & 50–950 ramp

primary
#2F8F2D
secondary
#B462B6
accent
#4CDCD9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2F8F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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