#2C901F#2C901F

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

Color values

HEX#2C901F
RGBrgb(44, 144, 31)
HSLhsl(113, 65%, 34%)
HSVhsv(113, 78%, 56%)
CMYKcmyk(69.4%, 0%, 78.5%, 43.5%)
CIE-LABlab(52.49, -49.64, 48.05)
CIE-LCHlch(52.49, 69.09, 135.94°)
OKLaboklab(57.41% -0.1355 0.1077)
OKLCHoklch(57.41% 0.173 141.5)
XYZxyz(11.2587, 20.5797, 4.6750)
Luminance0.2058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C901F #831F90
analogous
#65901F #2C901F #1F904B
triadic
#2C901F #1F2C90 #901F2C
tetradic
#2C901F #1F6590 #831F90 #904B1F
square
#2C901F #1F6590 #831F90 #904B1F
split-complementary
#2C901F #4B1F90 #901F65
monochromatic
#0D2B09 #1D5E14 #2C901F #3BC22A #60D950

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C901F#FFFFFF#000000##000000
##2C901F1.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)
#168B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2c901f;
/* rgb */ color: rgb(44, 144, 31);
/* oklch */ color: oklch(57.4% 0.173 141.5);
Tailwind
colors: {
  custom: {
    50: '#74b164',
    500: '#2c901f',
    950: '#000000',
  },
}
SCSS
$custom: #2c901f;
$custom-light: #74b164;
$custom-dark: #000000;
JSON
{
  "hex": "#2c901f",
  "rgb": {
    "r": 44,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 113.097,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5741,
    "c": 0.17303,
    "h": 141.5
  },
  "luminance": 0.20581
}

Semantic roles & 50–950 ramp

primary
#2C901F
secondary
#B04EBC
accent
#40E8D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2C901F

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

Preview Lab → · Contrast checker → · Palette generator →

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