#2D941B#2D941B

#2D941B is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.5% C 0.179 H 141.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2D941B
RGBrgb(45, 148, 27)
HSLhsl(111, 69%, 34%)
HSVhsv(111, 82%, 58%)
CMYKcmyk(69.6%, 0%, 81.8%, 42%)
CIE-LABlab(53.83, -51.08, 50.63)
CIE-LCHlch(53.83, 71.92, 135.25°)
OKLaboklab(58.53% -0.1396 0.1125)
OKLCHoklch(58.53% 0.179 141.1)
XYZxyz(11.8693, 21.8156, 4.6220)
Luminance0.2182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D941B #821B94
analogous
#6A941B #2D941B #1B9445
triadic
#2D941B #1B2D94 #941B2D
tetradic
#2D941B #1B6A94 #821B94 #94451B
square
#2D941B #1B6A94 #821B94 #94451B
split-complementary
#2D941B #451B94 #941B6A
monochromatic
#0E2C08 #1D6012 #2D941B #3DC824 #61DE4B

Accessibility & contrast

On white

3.92
#2D941B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#2D941B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D941B
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D941B#FFFFFF#000000##000000
##2D941B1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8C7E2A
Tritanopia (blue-blind)
#168F7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2d941b;
/* rgb */ color: rgb(45, 148, 27);
/* oklch */ color: oklch(58.5% 0.179 141.1);
Tailwind
colors: {
  custom: {
    50: '#76b462',
    500: '#2d941b',
    950: '#000000',
  },
}
SCSS
$custom: #2d941b;
$custom-light: #76b462;
$custom-dark: #000000;
JSON
{
  "hex": "#2d941b",
  "rgb": {
    "r": 45,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 111.074,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58525,
    "c": 0.17926,
    "h": 141.1
  },
  "luminance": 0.21817
}

Semantic roles & 50–950 ramp

primary
#2D941B
secondary
#AF4BC0
accent
#3CECD2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2D941B

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

Preview Lab → · Contrast checker → · Palette generator →

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