#2F9045#2F9045

#2F9045 is a mid, vivid green. Relative luminance 0.210; OKLCH L 57.9% C 0.143 H 147.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2F9045
RGBrgb(47, 144, 69)
HSLhsl(134, 51%, 37%)
HSVhsv(134, 67%, 56%)
CMYKcmyk(67.4%, 0%, 52.1%, 43.5%)
CIE-LABlab(52.93, -44.75, 31.61)
CIE-LCHlch(52.93, 54.79, 144.77°)
OKLaboklab(57.91% -0.1207 0.0764)
OKLCHoklch(57.91% 0.143 147.7)
XYZxyz(12.2188, 20.9793, 9.0345)
Luminance0.2098 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9045 #902F7A
analogous
#4A902F #2F9045 #2F9075
triadic
#2F9045 #452F90 #90452F
tetradic
#2F9045 #2F4A90 #902F7A #90752F
square
#2F9045 #2F4A90 #902F7A #90752F
split-complementary
#2F9045 #752F90 #902F4A
monochromatic
#113419 #20622F #2F9045 #3EBE5B #6BCF81

Accessibility & contrast

On white

4.04
#2F9045 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#2F9045 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9045
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9045#FFFFFF#000000##000000
##2F90451.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92833F
Deuteranopia (green-blind)
#867B4A
Tritanopia (blue-blind)
#0C8D7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f9045;
/* rgb */ color: rgb(47, 144, 69);
/* oklch */ color: oklch(57.9% 0.143 147.7);
Tailwind
colors: {
  custom: {
    50: '#74b17a',
    500: '#2f9045',
    950: '#000000',
  },
}
SCSS
$custom: #2f9045;
$custom-light: #74b17a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9045",
  "rgb": {
    "r": 47,
    "g": 144,
    "b": 69
  },
  "hsl": {
    "h": 133.608,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57913,
    "c": 0.14286,
    "h": 147.7
  },
  "luminance": 0.20981
}

Semantic roles & 50–950 ramp

primary
#2F9045
secondary
#B665A3
accent
#4EBADA
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2F9045

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

Preview Lab → · Contrast checker → · Palette generator →

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