#2F8623#2F8623

#2F8623 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.158 H 141.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F8623
RGBrgb(47, 134, 35)
HSLhsl(113, 59%, 33%)
HSVhsv(113, 74%, 53%)
CMYKcmyk(64.9%, 0%, 73.9%, 47.5%)
CIE-LABlab(49.22, -45.08, 43.34)
CIE-LCHlch(49.22, 62.53, 136.13°)
OKLaboklab(54.74% -0.1231 0.0984)
OKLCHoklch(54.74% 0.158 141.4)
XYZxyz(10.0002, 17.7749, 4.4937)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8623 #7A2386
analogous
#608623 #2F8623 #238648
triadic
#2F8623 #232F86 #86232F
tetradic
#2F8623 #236086 #7A2386 #864823
square
#2F8623 #236086 #7A2386 #864823
split-complementary
#2F8623 #482386 #862360
monochromatic
#0D250A #1E5516 #2F8623 #40B730 #61D252

Accessibility & contrast

On white

4.61
#2F8623 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2F8623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8623
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8623#FFFFFF#000000##FFFFFF
##2F86231.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897912
Deuteranopia (green-blind)
#7F722D
Tritanopia (blue-blind)
#208273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8623;
/* rgb */ color: rgb(47, 134, 35);
/* oklch */ color: oklch(54.7% 0.158 141.4);
Tailwind
colors: {
  custom: {
    50: '#73aa64',
    500: '#2f8623',
    950: '#000000',
  },
}
SCSS
$custom: #2f8623;
$custom-light: #73aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8623",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 112.727,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54737,
    "c": 0.15758,
    "h": 141.4
  },
  "luminance": 0.17776
}

Semantic roles & 50–950 ramp

primary
#2F8623
secondary
#A94FB5
accent
#46E2CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8623

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

Preview Lab → · Contrast checker → · Palette generator →

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