#2F9042#2F9042

#2F9042 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.9% C 0.146 H 146.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2F9042
RGBrgb(47, 144, 66)
HSLhsl(132, 51%, 37%)
HSVhsv(132, 67%, 56%)
CMYKcmyk(67.4%, 0%, 54.2%, 43.5%)
CIE-LABlab(52.89, -45.20, 33.10)
CIE-LCHlch(52.89, 56.03, 143.78°)
OKLaboklab(57.87% -0.122 0.0796)
OKLCHoklch(57.87% 0.146 146.9)
XYZxyz(12.1281, 20.9429, 8.5564)
Luminance0.2094 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9042 #902F7D
analogous
#4C902F #2F9042 #2F9073
triadic
#2F9042 #422F90 #90422F
tetradic
#2F9042 #2F4C90 #902F7D #90732F
square
#2F9042 #2F4C90 #902F7D #90732F
split-complementary
#2F9042 #732F90 #902F4C
monochromatic
#113418 #20622D #2F9042 #3EBE57 #6BCF7E

Accessibility & contrast

On white

4.05
#2F9042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#2F9042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9042
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9042#FFFFFF#000000##000000
##2F90421.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92833B
Deuteranopia (green-blind)
#867B48
Tritanopia (blue-blind)
#0E8D7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f9042;
/* rgb */ color: rgb(47, 144, 66);
/* oklch */ color: oklch(57.9% 0.146 146.9);
Tailwind
colors: {
  custom: {
    50: '#74b178',
    500: '#2f9042',
    950: '#000000',
  },
}
SCSS
$custom: #2f9042;
$custom-light: #74b178;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9042",
  "rgb": {
    "r": 47,
    "g": 144,
    "b": 66
  },
  "hsl": {
    "h": 131.753,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57867,
    "c": 0.14565,
    "h": 146.9
  },
  "luminance": 0.20944
}

Semantic roles & 50–950 ramp

primary
#2F9042
secondary
#B665A6
accent
#4EBFDA
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2F9042

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

Preview Lab → · Contrast checker → · Palette generator →

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