#2F9A27#2F9A27

#2F9A27 is a mid, vivid green. Relative luminance 0.239; OKLCH L 60.3% C 0.179 H 142.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2F9A27
RGBrgb(47, 154, 39)
HSLhsl(116, 60%, 38%)
HSVhsv(116, 75%, 60%)
CMYKcmyk(69.5%, 0%, 74.7%, 39.6%)
CIE-LABlab(55.95, -51.89, 48.65)
CIE-LCHlch(55.95, 71.13, 136.85°)
OKLaboklab(60.32% -0.1413 0.11)
OKLCHoklch(60.32% 0.179 142.1)
XYZxyz(13.0934, 23.8606, 5.8346)
Luminance0.2386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9A27 #92279A
analogous
#689A27 #2F9A27 #279A58
triadic
#2F9A27 #272F9A #9A272F
tetradic
#2F9A27 #27689A #92279A #9A5827
square
#2F9A27 #27689A #92279A #9A5827
split-complementary
#2F9A27 #58279A #9A2768
monochromatic
#11380E #20691B #2F9A27 #3ECB33 #6CD864

Accessibility & contrast

On white

3.64
#2F9A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#2F9A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9A27
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9A27#FFFFFF#000000##000000
##2F9A271.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B11
Deuteranopia (green-blind)
#918333
Tritanopia (blue-blind)
#159584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2f9a27;
/* rgb */ color: rgb(47, 154, 39);
/* oklch */ color: oklch(60.3% 0.179 142.1);
Tailwind
colors: {
  custom: {
    50: '#77b969',
    500: '#2f9a27',
    950: '#000000',
  },
}
SCSS
$custom: #2f9a27;
$custom-light: #77b969;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9a27",
  "rgb": {
    "r": 47,
    "g": 154,
    "b": 39
  },
  "hsl": {
    "h": 115.826,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60317,
    "c": 0.17907,
    "h": 142.1
  },
  "luminance": 0.23862
}

Semantic roles & 50–950 ramp

primary
#2F9A27
secondary
#B75FBD
accent
#45E3D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F9A27

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

Preview Lab → · Contrast checker → · Palette generator →

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