#2F8F23#2F8F23

#2F8F23 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.168 H 141.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2F8F23
RGBrgb(47, 143, 35)
HSLhsl(113, 61%, 35%)
HSVhsv(113, 76%, 56%)
CMYKcmyk(67.1%, 0%, 75.5%, 43.9%)
CIE-LABlab(52.25, -48.35, 46.41)
CIE-LCHlch(52.25, 67.02, 136.17°)
OKLaboklab(57.25% -0.132 0.1048)
OKLCHoklch(57.25% 0.168 141.5)
XYZxyz(11.2975, 20.3695, 4.9261)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F23 #83238F
analogous
#658F23 #2F8F23 #238F4D
triadic
#2F8F23 #232F8F #8F232F
tetradic
#2F8F23 #23658F #83238F #8F4D23
square
#2F8F23 #23658F #83238F #8F4D23
split-complementary
#2F8F23 #4D238F #8F2365
monochromatic
#0F2D0B #1F5E17 #2F8F23 #3FC02F #65D657

Accessibility & contrast

On white

4.14
#2F8F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2F8F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F23
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F23#FFFFFF#000000##000000
##2F8F231.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93810E
Deuteranopia (green-blind)
#877A2E
Tritanopia (blue-blind)
#1C8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f8f23;
/* rgb */ color: rgb(47, 143, 35);
/* oklch */ color: oklch(57.2% 0.168 141.5);
Tailwind
colors: {
  custom: {
    50: '#75b165',
    500: '#2f8f23',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f23;
$custom-light: #75b165;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f23",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 113.333,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57245,
    "c": 0.16849,
    "h": 141.5
  },
  "luminance": 0.20371
}

Semantic roles & 50–950 ramp

primary
#2F8F23
secondary
#AF54BA
accent
#44E4D2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2F8F23

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

Preview Lab → · Contrast checker → · Palette generator →

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