#2F9021#2F9021

#2F9021 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.5% C 0.171 H 141.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2F9021
RGBrgb(47, 144, 33)
HSLhsl(112, 63%, 35%)
HSVhsv(112, 77%, 56%)
CMYKcmyk(67.4%, 0%, 77.1%, 43.5%)
CIE-LABlab(52.57, -48.86, 47.46)
CIE-LCHlch(52.57, 68.12, 135.83°)
OKLaboklab(57.51% -0.1334 0.1067)
OKLCHoklch(57.51% 0.171 141.4)
XYZxyz(11.4195, 20.6595, 4.8244)
Luminance0.2066 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9021 #822190
analogous
#679021 #2F9021 #21904A
triadic
#2F9021 #212F90 #90212F
tetradic
#2F9021 #216790 #822190 #904A21
square
#2F9021 #216790 #822190 #904A21
split-complementary
#2F9021 #4A2190 #902167
monochromatic
#0E2C0A #1F5E16 #2F9021 #3FC22C #64D854

Accessibility & contrast

On white

4.09
#2F9021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#2F9021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9021
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9021#FFFFFF#000000##000000
##2F90211.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948208
Deuteranopia (green-blind)
#887A2D
Tritanopia (blue-blind)
#1C8B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f9021;
/* rgb */ color: rgb(47, 144, 33);
/* oklch */ color: oklch(57.5% 0.171 141.4);
Tailwind
colors: {
  custom: {
    50: '#76b165',
    500: '#2f9021',
    950: '#000000',
  },
}
SCSS
$custom: #2f9021;
$custom-light: #76b165;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9021",
  "rgb": {
    "r": 47,
    "g": 144,
    "b": 33
  },
  "hsl": {
    "h": 112.432,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57508,
    "c": 0.17084,
    "h": 141.4
  },
  "luminance": 0.20661
}

Semantic roles & 50–950 ramp

primary
#2F9021
secondary
#AE51BB
accent
#42E6D1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F9021

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

Preview Lab → · Contrast checker → · Palette generator →

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