#2F9D23#2F9D23

#2F9D23 is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.1% C 0.185 H 141.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#2F9D23
RGBrgb(47, 157, 35)
HSLhsl(114, 64%, 38%)
HSVhsv(114, 78%, 62%)
CMYKcmyk(70.1%, 0%, 77.7%, 38.4%)
CIE-LABlab(56.92, -53.22, 51.03)
CIE-LCHlch(56.92, 73.73, 136.20°)
OKLaboklab(61.11% -0.1451 0.1144)
OKLCHoklch(61.11% 0.185 141.7)
XYZxyz(13.5319, 24.8382, 5.6709)
Luminance0.2484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9D23 #91239D
analogous
#6C9D23 #2F9D23 #239D54
triadic
#2F9D23 #232F9D #9D232F
tetradic
#2F9D23 #236C9D #91239D #9D5423
square
#2F9D23 #236C9D #91239D #9D5423
split-complementary
#2F9D23 #54239D #9D236C
monochromatic
#11390D #206B18 #2F9D23 #3ECF2E #6BDB5F

Accessibility & contrast

On white

3.52
#2F9D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#2F9D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9D23
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9D23#FFFFFF#000000##000000
##2F9D231.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E04
Deuteranopia (green-blind)
#948531
Tritanopia (blue-blind)
#149886
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2f9d23;
/* rgb */ color: rgb(47, 157, 35);
/* oklch */ color: oklch(61.1% 0.185 141.7);
Tailwind
colors: {
  custom: {
    50: '#78bb67',
    500: '#2f9d23',
    950: '#000000',
  },
}
SCSS
$custom: #2f9d23;
$custom-light: #78bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9d23",
  "rgb": {
    "r": 47,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 114.098,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61113,
    "c": 0.18479,
    "h": 141.7
  },
  "luminance": 0.2484
}

Semantic roles & 50–950 ramp

primary
#2F9D23
secondary
#B65CC0
accent
#41E7D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2F9D23

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

Preview Lab → · Contrast checker → · Palette generator →

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