#2A901B#2A901B

#2A901B is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.3% C 0.176 H 141.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2A901B
RGBrgb(42, 144, 27)
HSLhsl(112, 68%, 34%)
HSVhsv(112, 81%, 56%)
CMYKcmyk(70.8%, 0%, 81.3%, 43.5%)
CIE-LABlab(52.42, -50.31, 49.27)
CIE-LCHlch(52.42, 70.42, 135.60°)
OKLaboklab(57.33% -0.1374 0.1097)
OKLCHoklch(57.33% 0.176 141.4)
XYZxyz(11.1253, 20.5167, 4.4105)
Luminance0.2052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A901B #811B90
analogous
#64901B #2A901B #1B9046
triadic
#2A901B #1B2A90 #901B2A
tetradic
#2A901B #1B6490 #811B90 #90461B
square
#2A901B #1B6490 #811B90 #90461B
split-complementary
#2A901B #461B90 #901B64
monochromatic
#0C2908 #1B5C11 #2A901B #39C425 #5CDD49

Accessibility & contrast

On white

4.11
#2A901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#2A901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A901B
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A901B#FFFFFF#000000##000000
##2A901B1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#118B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2a901b;
/* rgb */ color: rgb(42, 144, 27);
/* oklch */ color: oklch(57.3% 0.176 141.4);
Tailwind
colors: {
  custom: {
    50: '#74b262',
    500: '#2a901b',
    950: '#000000',
  },
}
SCSS
$custom: #2a901b;
$custom-light: #74b262;
$custom-dark: #000000;
JSON
{
  "hex": "#2a901b",
  "rgb": {
    "r": 42,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 112.308,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57331,
    "c": 0.17576,
    "h": 141.4
  },
  "luminance": 0.20518
}

Semantic roles & 50–950 ramp

primary
#2A901B
secondary
#AF48BF
accent
#3DEBD5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A901B

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

Preview Lab → · Contrast checker → · Palette generator →

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