#2F8E23#2F8E23

#2F8E23 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.167 H 141.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2F8E23
RGBrgb(47, 142, 35)
HSLhsl(113, 60%, 35%)
HSVhsv(113, 75%, 56%)
CMYKcmyk(66.9%, 0%, 75.4%, 44.3%)
CIE-LABlab(51.92, -47.99, 46.07)
CIE-LCHlch(51.92, 66.53, 136.17°)
OKLaboklab(56.97% -0.131 0.1041)
OKLCHoklch(56.97% 0.167 141.5)
XYZxyz(11.1481, 20.0706, 4.8763)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E23 #82238E
analogous
#658E23 #2F8E23 #238E4D
triadic
#2F8E23 #232F8E #8E232F
tetradic
#2F8E23 #23658E #82238E #8E4D23
square
#2F8E23 #23658E #82238E #8E4D23
split-complementary
#2F8E23 #4D238E #8E2365
monochromatic
#0E2C0B #1F5D17 #2F8E23 #3FBF2F #64D556

Accessibility & contrast

On white

4.19
#2F8E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#2F8E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E23
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E23#FFFFFF#000000##000000
##2F8E231.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92800E
Deuteranopia (green-blind)
#86792E
Tritanopia (blue-blind)
#1C8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8e23;
/* rgb */ color: rgb(47, 142, 35);
/* oklch */ color: oklch(57.0% 0.167 141.5);
Tailwind
colors: {
  custom: {
    50: '#75b065',
    500: '#2f8e23',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e23;
$custom-light: #75b065;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e23",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 113.271,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56968,
    "c": 0.1673,
    "h": 141.5
  },
  "luminance": 0.20072
}

Semantic roles & 50–950 ramp

primary
#2F8E23
secondary
#AE53B9
accent
#44E4D2
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2F8E23

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

Preview Lab → · Contrast checker → · Palette generator →

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