#2D901F#2D901F

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

Color values

HEX#2D901F
RGBrgb(45, 144, 31)
HSLhsl(113, 65%, 34%)
HSVhsv(113, 78%, 56%)
CMYKcmyk(68.7%, 0%, 78.5%, 43.5%)
CIE-LABlab(52.51, -49.43, 48.08)
CIE-LCHlch(52.51, 68.96, 135.80°)
OKLaboklab(57.44% -0.135 0.1077)
OKLCHoklch(57.44% 0.173 141.4)
XYZxyz(11.3022, 20.6022, 4.6770)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D901F #821F90
analogous
#66901F #2D901F #1F9049
triadic
#2D901F #1F2D90 #901F2D
tetradic
#2D901F #1F6690 #821F90 #90491F
square
#2D901F #1F6690 #821F90 #90491F
split-complementary
#2D901F #491F90 #901F66
monochromatic
#0E2B09 #1D5E14 #2D901F #3DC22A #61D950

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D901F#FFFFFF#000000##000000
##2D901F1.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)
#948203
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#188B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d901f;
/* rgb */ color: rgb(45, 144, 31);
/* oklch */ color: oklch(57.4% 0.173 141.4);
Tailwind
colors: {
  custom: {
    50: '#75b164',
    500: '#2d901f',
    950: '#000000',
  },
}
SCSS
$custom: #2d901f;
$custom-light: #75b164;
$custom-dark: #000000;
JSON
{
  "hex": "#2d901f",
  "rgb": {
    "r": 45,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 112.566,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57437,
    "c": 0.17267,
    "h": 141.4
  },
  "luminance": 0.20603
}

Semantic roles & 50–950 ramp

primary
#2D901F
secondary
#AF4EBC
accent
#40E8D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D901F

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

Preview Lab → · Contrast checker → · Palette generator →

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