#2F8823#2F8823

#2F8823 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.160 H 141.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2F8823
RGBrgb(47, 136, 35)
HSLhsl(113, 59%, 34%)
HSVhsv(113, 74%, 53%)
CMYKcmyk(65.4%, 0%, 74.3%, 46.7%)
CIE-LABlab(49.90, -45.82, 44.03)
CIE-LCHlch(49.90, 63.54, 136.14°)
OKLaboklab(55.3% -0.1251 0.0998)
OKLCHoklch(55.3% 0.16 141.4)
XYZxyz(10.2793, 18.3330, 4.5867)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8823 #7C2388
analogous
#618823 #2F8823 #238849
triadic
#2F8823 #232F88 #88232F
tetradic
#2F8823 #236188 #7C2388 #884923
square
#2F8823 #236188 #7C2388 #884923
split-complementary
#2F8823 #492388 #882361
monochromatic
#0D270A #1E5716 #2F8823 #40B930 #62D353

Accessibility & contrast

On white

4.50
#2F8823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2F8823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8823
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8823#FFFFFF#000000##000000
##2F88231.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B11
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#1F8474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8823;
/* rgb */ color: rgb(47, 136, 35);
/* oklch */ color: oklch(55.3% 0.160 141.4);
Tailwind
colors: {
  custom: {
    50: '#74ac65',
    500: '#2f8823',
    950: '#000000',
  },
}
SCSS
$custom: #2f8823;
$custom-light: #74ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8823",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 35
  },
  "hsl": {
    "h": 112.871,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55296,
    "c": 0.16004,
    "h": 141.4
  },
  "luminance": 0.18334
}

Semantic roles & 50–950 ramp

primary
#2F8823
secondary
#AA50B7
accent
#46E2D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8823

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

Preview Lab → · Contrast checker → · Palette generator →

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