#2F9015#2F9015

#2F9015 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.4% C 0.177 H 140.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2F9015
RGBrgb(47, 144, 21)
HSLhsl(107, 75%, 32%)
HSVhsv(107, 85%, 56%)
CMYKcmyk(67.4%, 0%, 85.4%, 43.5%)
CIE-LABlab(52.51, -49.60, 51.14)
CIE-LCHlch(52.51, 71.24, 134.13°)
OKLaboklab(57.44% -0.136 0.1127)
OKLCHoklch(57.44% 0.177 140.4)
XYZxyz(11.2804, 20.6039, 4.0918)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9015 #761590
analogous
#6D9015 #2F9015 #159039
triadic
#2F9015 #152F90 #90152F
tetradic
#2F9015 #156D90 #761590 #903915
square
#2F9015 #156D90 #761590 #903915
split-complementary
#2F9015 #391590 #90156D
monochromatic
#0C2505 #1E5B0D #2F9015 #40C51D #60E33D

Accessibility & contrast

On white

4.10
#2F9015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#2F9015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9015
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9015#FFFFFF#000000##000000
##2F90151.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#897A25
Tritanopia (blue-blind)
#1E8B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f9015;
/* rgb */ color: rgb(47, 144, 21);
/* oklch */ color: oklch(57.4% 0.177 140.4);
Tailwind
colors: {
  custom: {
    50: '#76b160',
    500: '#2f9015',
    950: '#000000',
  },
}
SCSS
$custom: #2f9015;
$custom-light: #76b160;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9015",
  "rgb": {
    "r": 47,
    "g": 144,
    "b": 21
  },
  "hsl": {
    "h": 107.317,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57438,
    "c": 0.1766,
    "h": 140.4
  },
  "luminance": 0.20605
}

Semantic roles & 50–950 ramp

primary
#2F9015
secondary
#A73EC2
accent
#37F1CA
background
#F7FBF5
surface
#EEF6EA
border
#C9D0C6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #2F9015

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

Preview Lab → · Contrast checker → · Palette generator →

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