#2FB938#2FB938

#2FB938 is a light, highly saturated green. Relative luminance 0.356; OKLCH L 68.9% C 0.204 H 143.7°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2FB938
RGBrgb(47, 185, 56)
HSLhsl(124, 59%, 45%)
HSVhsv(124, 75%, 73%)
CMYKcmyk(74.6%, 0%, 69.7%, 27.5%)
CIE-LABlab(66.20, -60.77, 52.73)
CIE-LCHlch(66.20, 80.46, 139.06°)
OKLaboklab(68.86% -0.1645 0.1207)
OKLCHoklch(68.86% 0.204 143.7)
XYZxyz(19.2338, 35.5856, 9.5957)
Luminance0.3559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB938 #B92FB0
analogous
#6BB92F #2FB938 #2FB97D
triadic
#2FB938 #382FB9 #B9382F
tetradic
#2FB938 #2F6BB9 #B92FB0 #B97D2F
square
#2FB938 #2F6BB9 #B92FB0 #B97D2F
split-complementary
#2FB938 #7D2FB9 #B92F6B
monochromatic
#16571A #238829 #2FB938 #52D35B #83DF89

Accessibility & contrast

On white

2.59
#2FB938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#2FB938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB938
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB938#FFFFFF#000000##000000
##2FB9381.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA725
Deuteranopia (green-blind)
#AD9D45
Tritanopia (blue-blind)
#00B49F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #2fb938;
/* rgb */ color: rgb(47, 185, 56);
/* oklch */ color: oklch(68.9% 0.204 143.7);
Tailwind
colors: {
  custom: {
    50: '#7ecf75',
    500: '#2fb938',
    950: '#000000',
  },
}
SCSS
$custom: #2fb938;
$custom-light: #7ecf75;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb938",
  "rgb": {
    "r": 47,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 123.913,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68864,
    "c": 0.20407,
    "h": 143.7
  },
  "luminance": 0.35588
}

Semantic roles & 50–950 ramp

primary
#2FB938
secondary
#C97BC4
accent
#45D8E3
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #2FB938

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

Preview Lab → · Contrast checker → · Palette generator →

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