#2F8B23#2F8B23

#2F8B23 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.164 H 141.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2F8B23
RGBrgb(47, 139, 35)
HSLhsl(113, 60%, 34%)
HSVhsv(113, 75%, 55%)
CMYKcmyk(66.2%, 0%, 74.8%, 45.5%)
CIE-LABlab(50.91, -46.91, 45.06)
CIE-LCHlch(50.91, 65.05, 136.16°)
OKLaboklab(56.13% -0.1281 0.102)
OKLCHoklch(56.13% 0.164 141.5)
XYZxyz(10.7077, 19.1899, 4.7295)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8B23 #7F238B
analogous
#638B23 #2F8B23 #238B4B
triadic
#2F8B23 #232F8B #8B232F
tetradic
#2F8B23 #23638B #7F238B #8B4B23
square
#2F8B23 #23638B #7F238B #8B4B23
split-complementary
#2F8B23 #4B238B #8B2363
monochromatic
#0E290A #1E5A17 #2F8B23 #40BC2F #63D454

Accessibility & contrast

On white

4.34
#2F8B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2F8B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8B23
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8B23#FFFFFF#000000##000000
##2F8B231.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#1E8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8b23;
/* rgb */ color: rgb(47, 139, 35);
/* oklch */ color: oklch(56.1% 0.164 141.5);
Tailwind
colors: {
  custom: {
    50: '#74ae65',
    500: '#2f8b23',
    950: '#000000',
  },
}
SCSS
$custom: #2f8b23;
$custom-light: #74ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8b23",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 113.077,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56133,
    "c": 0.16369,
    "h": 141.5
  },
  "luminance": 0.19191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8B23

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

Preview Lab → · Contrast checker → · Palette generator →

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