#2F9538#2F9538

#2F9538 is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.1% C 0.161 H 144.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2F9538
RGBrgb(47, 149, 56)
HSLhsl(125, 52%, 38%)
HSVhsv(125, 68%, 58%)
CMYKcmyk(68.5%, 0%, 62.4%, 41.6%)
CIE-LABlab(54.43, -48.42, 39.83)
CIE-LCHlch(54.43, 62.70, 140.56°)
OKLaboklab(59.11% -0.131 0.0934)
OKLCHoklch(59.11% 0.161 144.5)
XYZxyz(12.6327, 22.3834, 7.3953)
Luminance0.2238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9538 #952F8C
analogous
#59952F #2F9538 #2F956B
triadic
#2F9538 #382F95 #95382F
tetradic
#2F9538 #2F5995 #952F8C #956B2F
square
#2F9538 #2F5995 #952F8C #956B2F
split-complementary
#2F9538 #6B2F95 #952F59
monochromatic
#123815 #206627 #2F9538 #3FC24A #6DD176

Accessibility & contrast

On white

3.83
#2F9538 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#2F9538 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9538
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9538#FFFFFF#000000##000000
##2F95381.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98872E
Deuteranopia (green-blind)
#8B7F40
Tritanopia (blue-blind)
#119181
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f9538;
/* rgb */ color: rgb(47, 149, 56);
/* oklch */ color: oklch(59.1% 0.161 144.5);
Tailwind
colors: {
  custom: {
    50: '#76b572',
    500: '#2f9538',
    950: '#000000',
  },
}
SCSS
$custom: #2f9538;
$custom-light: #76b572;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9538",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 56
  },
  "hsl": {
    "h": 125.294,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59107,
    "c": 0.16092,
    "h": 144.5
  },
  "luminance": 0.22385
}

Semantic roles & 50–950 ramp

primary
#2F9538
secondary
#B867B1
accent
#4CCFDB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2F9538

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

Preview Lab → · Contrast checker → · Palette generator →

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