#2F9040#2F9040

#2F9040 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.8% C 0.147 H 146.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2F9040
RGBrgb(47, 144, 64)
HSLhsl(131, 51%, 37%)
HSVhsv(131, 67%, 56%)
CMYKcmyk(67.4%, 0%, 55.6%, 43.5%)
CIE-LABlab(52.86, -45.50, 34.09)
CIE-LCHlch(52.86, 56.85, 143.16°)
OKLaboklab(57.84% -0.1228 0.0816)
OKLCHoklch(57.84% 0.147 146.4)
XYZxyz(12.0701, 20.9198, 8.2513)
Luminance0.2092 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9040 #902F7F
analogous
#4F902F #2F9040 #2F9070
triadic
#2F9040 #402F90 #90402F
tetradic
#2F9040 #2F4F90 #902F7F #90702F
square
#2F9040 #2F4F90 #902F7F #90702F
split-complementary
#2F9040 #702F90 #902F4F
monochromatic
#113417 #20622B #2F9040 #3EBE55 #6BCF7C

Accessibility & contrast

On white

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

On black

5.18
#2F9040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9040
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9040#FFFFFF#000000##000000
##2F90401.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928339
Deuteranopia (green-blind)
#867B46
Tritanopia (blue-blind)
#108D7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f9040;
/* rgb */ color: rgb(47, 144, 64);
/* oklch */ color: oklch(57.8% 0.147 146.4);
Tailwind
colors: {
  custom: {
    50: '#74b177',
    500: '#2f9040',
    950: '#000000',
  },
}
SCSS
$custom: #2f9040;
$custom-light: #74b177;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9040",
  "rgb": {
    "r": 47,
    "g": 144,
    "b": 64
  },
  "hsl": {
    "h": 130.515,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57838,
    "c": 0.14748,
    "h": 146.4
  },
  "luminance": 0.20921
}

Semantic roles & 50–950 ramp

primary
#2F9040
secondary
#B665A8
accent
#4EC2DA
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2F9040

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

Preview Lab → · Contrast checker → · Palette generator →

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