#2F8321#2F8321

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

Color values

HEX#2F8321
RGBrgb(47, 131, 33)
HSLhsl(111, 60%, 32%)
HSVhsv(111, 75%, 51%)
CMYKcmyk(64.1%, 0%, 74.8%, 48.6%)
CIE-LABlab(48.19, -44.14, 43.07)
CIE-LCHlch(48.19, 61.67, 135.70°)
OKLaboklab(53.88% -0.1207 0.0975)
OKLCHoklch(53.88% 0.155 141.1)
XYZxyz(9.5626, 16.9458, 4.2055)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8321 #752183
analogous
#608321 #2F8321 #218344
triadic
#2F8321 #212F83 #83212F
tetradic
#2F8321 #216083 #752183 #834421
square
#2F8321 #216083 #752183 #834421
split-complementary
#2F8321 #442183 #832160
monochromatic
#0C2108 #1D5215 #2F8321 #41B42D #5FD24C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8321#FFFFFF#000000##FFFFFF
##2F83211.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)
#86770F
Deuteranopia (green-blind)
#7C702B
Tritanopia (blue-blind)
#217F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8321;
/* rgb */ color: rgb(47, 131, 33);
/* oklch */ color: oklch(53.9% 0.155 141.1);
Tailwind
colors: {
  custom: {
    50: '#73a863',
    500: '#2f8321',
    950: '#000000',
  },
}
SCSS
$custom: #2f8321;
$custom-light: #73a863;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8321",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 33
  },
  "hsl": {
    "h": 111.429,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5388,
    "c": 0.15516,
    "h": 141.1
  },
  "luminance": 0.16947
}

Semantic roles & 50–950 ramp

primary
#2F8321
secondary
#A64BB5
accent
#45E3CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8321

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

Preview Lab → · Contrast checker → · Palette generator →

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