#2F8D23#2F8D23

#2F8D23 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.166 H 141.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2F8D23
RGBrgb(47, 141, 35)
HSLhsl(113, 60%, 35%)
HSVhsv(113, 75%, 55%)
CMYKcmyk(66.7%, 0%, 75.2%, 44.7%)
CIE-LABlab(51.58, -47.64, 45.74)
CIE-LCHlch(51.58, 66.04, 136.17°)
OKLaboklab(56.69% -0.13 0.1034)
OKLCHoklch(56.69% 0.166 141.5)
XYZxyz(11.0000, 19.7743, 4.8269)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D23 #81238D
analogous
#648D23 #2F8D23 #238D4C
triadic
#2F8D23 #232F8D #8D232F
tetradic
#2F8D23 #23648D #81238D #8D4C23
square
#2F8D23 #23648D #81238D #8D4C23
split-complementary
#2F8D23 #4C238D #8D2364
monochromatic
#0E2B0B #1F5C17 #2F8D23 #3FBE2F #64D555

Accessibility & contrast

On white

4.24
#2F8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#2F8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D23
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D23#FFFFFF#000000##000000
##2F8D231.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#1D8978
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d23;
/* rgb */ color: rgb(47, 141, 35);
/* oklch */ color: oklch(56.7% 0.166 141.5);
Tailwind
colors: {
  custom: {
    50: '#75af65',
    500: '#2f8d23',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d23;
$custom-light: #75af65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d23",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 113.208,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56689,
    "c": 0.1661,
    "h": 141.5
  },
  "luminance": 0.19775
}

Semantic roles & 50–950 ramp

primary
#2F8D23
secondary
#AD53B9
accent
#44E3D1
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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