#2F8B24#2F8B24

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

Color values

HEX#2F8B24
RGBrgb(47, 139, 36)
HSLhsl(114, 59%, 34%)
HSVhsv(114, 74%, 55%)
CMYKcmyk(66.2%, 0%, 74.1%, 45.5%)
CIE-LABlab(50.92, -46.83, 44.68)
CIE-LCHlch(50.92, 64.72, 136.35°)
OKLaboklab(56.14% -0.1278 0.1013)
OKLCHoklch(56.14% 0.163 141.6)
XYZxyz(10.7228, 19.1959, 4.8088)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8B24 #80248B
analogous
#638B24 #2F8B24 #248B4D
triadic
#2F8B24 #242F8B #8B242F
tetradic
#2F8B24 #24638B #80248B #8B4D24
square
#2F8B24 #24638B #80248B #8B4D24
split-complementary
#2F8B24 #4D248B #8B2463
monochromatic
#0E2A0B #1F5A17 #2F8B24 #3FBC31 #63D356

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8B24#FFFFFF#000000##000000
##2F8B241.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)
#8E7E12
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#1E8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8b24;
/* rgb */ color: rgb(47, 139, 36);
/* oklch */ color: oklch(56.1% 0.163 141.6);
Tailwind
colors: {
  custom: {
    50: '#74ae65',
    500: '#2f8b24',
    950: '#000000',
  },
}
SCSS
$custom: #2f8b24;
$custom-light: #74ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8b24",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 113.592,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56141,
    "c": 0.16306,
    "h": 141.6
  },
  "luminance": 0.19197
}

Semantic roles & 50–950 ramp

primary
#2F8B24
secondary
#AD53B7
accent
#46E2D1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8B24

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

Preview Lab → · Contrast checker → · Palette generator →

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