#2F902B#2F902B

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

Color values

HEX#2F902B
RGBrgb(47, 144, 43)
HSLhsl(118, 54%, 37%)
HSVhsv(118, 70%, 56%)
CMYKcmyk(67.4%, 0%, 70.1%, 43.5%)
CIE-LABlab(52.65, -48.01, 43.65)
CIE-LCHlch(52.65, 64.89, 137.72°)
OKLaboklab(57.59% -0.1306 0.1001)
OKLCHoklch(57.59% 0.165 142.5)
XYZxyz(11.5809, 20.7241, 5.6749)
Luminance0.2072 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F902B #8C2B90
analogous
#62902B #2F902B #2B905A
triadic
#2F902B #2B2F90 #902B2F
tetradic
#2F902B #2B6290 #8C2B90 #905A2B
square
#2F902B #2B6290 #8C2B90 #905A2B
split-complementary
#2F902B #5A2B90 #902B62
monochromatic
#10320F #20611D #2F902B #3EBF39 #69D165

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F902B#FFFFFF#000000##000000
##2F902B1.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)
#93821C
Deuteranopia (green-blind)
#887B35
Tritanopia (blue-blind)
#198C7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f902b;
/* rgb */ color: rgb(47, 144, 43);
/* oklch */ color: oklch(57.6% 0.165 142.5);
Tailwind
colors: {
  custom: {
    50: '#75b16a',
    500: '#2f902b',
    950: '#000000',
  },
}
SCSS
$custom: #2f902b;
$custom-light: #75b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f902b",
  "rgb": {
    "r": 47,
    "g": 144,
    "b": 43
  },
  "hsl": {
    "h": 117.624,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.5759,
    "c": 0.16452,
    "h": 142.5
  },
  "luminance": 0.20725
}

Semantic roles & 50–950 ramp

primary
#2F902B
secondary
#B460B7
accent
#4ADDD8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2F902B

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

Preview Lab → · Contrast checker → · Palette generator →

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