#2D901C#2D901C

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

Color values

HEX#2D901C
RGBrgb(45, 144, 28)
HSLhsl(111, 67%, 34%)
HSVhsv(111, 81%, 56%)
CMYKcmyk(68.7%, 0%, 80.6%, 43.5%)
CIE-LABlab(52.49, -49.64, 49.06)
CIE-LCHlch(52.49, 69.79, 135.34°)
OKLaboklab(57.42% -0.1357 0.1093)
OKLCHoklch(57.42% 0.174 141.1)
XYZxyz(11.2645, 20.5871, 4.4784)
Luminance0.2059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D901C #7F1C90
analogous
#67901C #2D901C #1C9045
triadic
#2D901C #1C2D90 #901C2D
tetradic
#2D901C #1C6790 #7F1C90 #90451C
square
#2D901C #1C6790 #7F1C90 #90451C
split-complementary
#2D901C #451C90 #901C67
monochromatic
#0D2A08 #1D5D12 #2D901C #3DC326 #60DC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D901C#FFFFFF#000000##000000
##2D901C1.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)
#887A2A
Tritanopia (blue-blind)
#198B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d901c;
/* rgb */ color: rgb(45, 144, 28);
/* oklch */ color: oklch(57.4% 0.174 141.1);
Tailwind
colors: {
  custom: {
    50: '#75b162',
    500: '#2d901c',
    950: '#000000',
  },
}
SCSS
$custom: #2d901c;
$custom-light: #75b162;
$custom-dark: #000000;
JSON
{
  "hex": "#2d901c",
  "rgb": {
    "r": 45,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 111.207,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57418,
    "c": 0.17423,
    "h": 141.1
  },
  "luminance": 0.20588
}

Semantic roles & 50–950 ramp

primary
#2D901C
secondary
#AD4ABE
accent
#3DEAD1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D901C

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

Preview Lab → · Contrast checker → · Palette generator →

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