#2F902F#2F902F

#2F902F is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.6% C 0.162 H 143.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2F902F
RGBrgb(47, 144, 47)
HSLhsl(120, 51%, 37%)
HSVhsv(120, 67%, 56%)
CMYKcmyk(67.4%, 0%, 67.4%, 43.5%)
CIE-LABlab(52.68, -47.61, 41.97)
CIE-LCHlch(52.68, 63.47, 138.60°)
OKLaboklab(57.63% -0.1293 0.097)
OKLCHoklch(57.63% 0.162 143.1)
XYZxyz(11.6580, 20.7549, 6.0805)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F902F #902F90
analogous
#60902F #2F902F #2F9060
triadic
#2F902F #2F2F90 #902F2F
tetradic
#2F902F #2F6090 #902F90 #90602F
square
#2F902F #2F6090 #902F90 #90602F
split-complementary
#2F902F #602F90 #902F60
monochromatic
#113411 #206220 #2F902F #3EBE3E #6BCF6B

Accessibility & contrast

On white

4.08
#2F902F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#2F902F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F902F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F902F#FFFFFF#000000##000000
##2F902F1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938322
Deuteranopia (green-blind)
#877B38
Tritanopia (blue-blind)
#188C7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f902f;
/* rgb */ color: rgb(47, 144, 47);
/* oklch */ color: oklch(57.6% 0.162 143.1);
Tailwind
colors: {
  custom: {
    50: '#75b16c',
    500: '#2f902f',
    950: '#000000',
  },
}
SCSS
$custom: #2f902f;
$custom-light: #75b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f902f",
  "rgb": {
    "r": 47,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.5763,
    "c": 0.16163,
    "h": 143.1
  },
  "luminance": 0.20756
}

Semantic roles & 50–950 ramp

primary
#2F902F
secondary
#B665B6
accent
#4EDADA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2F902F

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

Preview Lab → · Contrast checker → · Palette generator →

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