#2F8923#2F8923

#2F8923 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.161 H 141.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2F8923
RGBrgb(47, 137, 35)
HSLhsl(113, 59%, 34%)
HSVhsv(113, 74%, 54%)
CMYKcmyk(65.7%, 0%, 74.5%, 46.3%)
CIE-LABlab(50.23, -46.19, 44.37)
CIE-LCHlch(50.23, 64.05, 136.15°)
OKLaboklab(55.58% -0.1261 0.1005)
OKLCHoklch(55.58% 0.161 141.4)
XYZxyz(10.4208, 18.6160, 4.6339)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8923 #7D2389
analogous
#628923 #2F8923 #23894A
triadic
#2F8923 #232F89 #89232F
tetradic
#2F8923 #236289 #7D2389 #894A23
square
#2F8923 #236289 #7D2389 #894A23
split-complementary
#2F8923 #4A2389 #892362
monochromatic
#0E280A #1E5817 #2F8923 #40BA2F #62D353

Accessibility & contrast

On white

4.45
#2F8923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2F8923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8923
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8923#FFFFFF#000000##000000
##2F89231.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C11
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#1F8575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8923;
/* rgb */ color: rgb(47, 137, 35);
/* oklch */ color: oklch(55.6% 0.161 141.4);
Tailwind
colors: {
  custom: {
    50: '#74ac65',
    500: '#2f8923',
    950: '#000000',
  },
}
SCSS
$custom: #2f8923;
$custom-light: #74ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8923",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 112.941,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55575,
    "c": 0.16126,
    "h": 141.4
  },
  "luminance": 0.18617
}

Semantic roles & 50–950 ramp

primary
#2F8923
secondary
#AB51B7
accent
#45E2D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8923

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

Preview Lab → · Contrast checker → · Palette generator →

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