#2F8C23#2F8C23

#2F8C23 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.165 H 141.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2F8C23
RGBrgb(47, 140, 35)
HSLhsl(113, 60%, 34%)
HSVhsv(113, 75%, 55%)
CMYKcmyk(66.4%, 0%, 75%, 45.1%)
CIE-LABlab(51.24, -47.28, 45.40)
CIE-LCHlch(51.24, 65.54, 136.16°)
OKLaboklab(56.41% -0.129 0.1027)
OKLCHoklch(56.41% 0.165 141.5)
XYZxyz(10.8532, 19.4808, 4.7780)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8C23 #80238C
analogous
#648C23 #2F8C23 #238C4C
triadic
#2F8C23 #232F8C #8C232F
tetradic
#2F8C23 #23648C #80238C #8C4C23
square
#2F8C23 #23648C #80238C #8C4C23
split-complementary
#2F8C23 #4C238C #8C2364
monochromatic
#0E2A0B #1F5B17 #2F8C23 #3FBD2F #63D455

Accessibility & contrast

On white

4.29
#2F8C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2F8C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8C23
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8C23#FFFFFF#000000##000000
##2F8C231.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#1D8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8c23;
/* rgb */ color: rgb(47, 140, 35);
/* oklch */ color: oklch(56.4% 0.165 141.5);
Tailwind
colors: {
  custom: {
    50: '#75ae65',
    500: '#2f8c23',
    950: '#000000',
  },
}
SCSS
$custom: #2f8c23;
$custom-light: #75ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8c23",
  "rgb": {
    "r": 47,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 113.143,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56411,
    "c": 0.1649,
    "h": 141.5
  },
  "luminance": 0.19482
}

Semantic roles & 50–950 ramp

primary
#2F8C23
secondary
#AD52B8
accent
#45E3D1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8C23

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

Preview Lab → · Contrast checker → · Palette generator →

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