#2F8323#2F8323

#2F8323 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.154 H 141.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2F8323
RGBrgb(47, 131, 35)
HSLhsl(113, 58%, 33%)
HSVhsv(113, 73%, 51%)
CMYKcmyk(64.1%, 0%, 73.3%, 48.6%)
CIE-LABlab(48.21, -43.97, 42.29)
CIE-LCHlch(48.21, 61.01, 136.11°)
OKLaboklab(53.9% -0.1201 0.0962)
OKLCHoklch(53.9% 0.154 141.3)
XYZxyz(9.5915, 16.9574, 4.3574)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8323 #772383
analogous
#5F8323 #2F8323 #238347
triadic
#2F8323 #232F83 #83232F
tetradic
#2F8323 #235F83 #772383 #834723
square
#2F8323 #235F83 #772383 #834723
split-complementary
#2F8323 #472383 #83235F
monochromatic
#0C2209 #1E5316 #2F8323 #40B330 #60D050

Accessibility & contrast

On white

4.78
#2F8323 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2F8323 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8323
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8323#FFFFFF#000000##FFFFFF
##2F83231.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867713
Deuteranopia (green-blind)
#7C702C
Tritanopia (blue-blind)
#217F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8323;
/* rgb */ color: rgb(47, 131, 35);
/* oklch */ color: oklch(53.9% 0.154 141.3);
Tailwind
colors: {
  custom: {
    50: '#73a864',
    500: '#2f8323',
    950: '#000000',
  },
}
SCSS
$custom: #2f8323;
$custom-light: #73a864;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8323",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 112.5,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53896,
    "c": 0.15386,
    "h": 141.3
  },
  "luminance": 0.16958
}

Semantic roles & 50–950 ramp

primary
#2F8323
secondary
#A74EB4
accent
#47E1CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8323

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

Preview Lab → · Contrast checker → · Palette generator →

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