#2D901B#2D901B

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

Color values

HEX#2D901B
RGBrgb(45, 144, 27)
HSLhsl(111, 68%, 34%)
HSVhsv(111, 81%, 56%)
CMYKcmyk(68.7%, 0%, 81.3%, 43.5%)
CIE-LABlab(52.49, -49.70, 49.37)
CIE-LCHlch(52.49, 70.05, 135.19°)
OKLaboklab(57.41% -0.1359 0.1098)
OKLCHoklch(57.41% 0.175 141.1)
XYZxyz(11.2527, 20.5824, 4.4165)
Luminance0.2058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D901B #7E1B90
analogous
#67901B #2D901B #1B9043
triadic
#2D901B #1B2D90 #901B2D
tetradic
#2D901B #1B6790 #7E1B90 #90431B
square
#2D901B #1B6790 #7E1B90 #90431B
split-complementary
#2D901B #431B90 #901B67
monochromatic
#0D2908 #1D5C11 #2D901B #3DC425 #5FDD49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D901B#FFFFFF#000000##000000
##2D901B1.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)
#887A29
Tritanopia (blue-blind)
#198B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d901b;
/* rgb */ color: rgb(45, 144, 27);
/* oklch */ color: oklch(57.4% 0.175 141.1);
Tailwind
colors: {
  custom: {
    50: '#75b162',
    500: '#2d901b',
    950: '#000000',
  },
}
SCSS
$custom: #2d901b;
$custom-light: #75b162;
$custom-dark: #000000;
JSON
{
  "hex": "#2d901b",
  "rgb": {
    "r": 45,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 110.769,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57412,
    "c": 0.17471,
    "h": 141.1
  },
  "luminance": 0.20584
}

Semantic roles & 50–950 ramp

primary
#2D901B
secondary
#AC48BF
accent
#3DEBD0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D901B

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

Preview Lab → · Contrast checker → · Palette generator →

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