#2A901C#2A901C

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

Color values

HEX#2A901C
RGBrgb(42, 144, 28)
HSLhsl(113, 67%, 34%)
HSVhsv(113, 81%, 56%)
CMYKcmyk(70.8%, 0%, 80.6%, 43.5%)
CIE-LABlab(52.42, -50.25, 48.96)
CIE-LCHlch(52.42, 70.16, 135.74°)
OKLaboklab(57.34% -0.1371 0.1092)
OKLCHoklch(57.34% 0.175 141.5)
XYZxyz(11.1371, 20.5214, 4.4725)
Luminance0.2052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A901C #821C90
analogous
#64901C #2A901C #1C9048
triadic
#2A901C #1C2A90 #901C2A
tetradic
#2A901C #1C6490 #821C90 #90481C
square
#2A901C #1C6490 #821C90 #90481C
split-complementary
#2A901C #481C90 #901C64
monochromatic
#0C2A08 #1B5D12 #2A901C #39C326 #5CDC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2a901c;
/* rgb */ color: rgb(42, 144, 28);
/* oklch */ color: oklch(57.3% 0.175 141.5);
Tailwind
colors: {
  custom: {
    50: '#74b262',
    500: '#2a901c',
    950: '#000000',
  },
}
SCSS
$custom: #2a901c;
$custom-light: #74b262;
$custom-dark: #000000;
JSON
{
  "hex": "#2a901c",
  "rgb": {
    "r": 42,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 112.759,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57337,
    "c": 0.17527,
    "h": 141.5
  },
  "luminance": 0.20523
}

Semantic roles & 50–950 ramp

primary
#2A901C
secondary
#B04ABE
accent
#3DEAD5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A901C

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

Preview Lab → · Contrast checker → · Palette generator →

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