#2A9027#2A9027

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

Color values

HEX#2A9027
RGBrgb(42, 144, 39)
HSLhsl(118, 57%, 36%)
HSVhsv(118, 73%, 56%)
CMYKcmyk(70.8%, 0%, 72.9%, 43.5%)
CIE-LABlab(52.49, -49.41, 45.08)
CIE-LCHlch(52.49, 66.88, 137.63°)
OKLaboklab(57.42% -0.1343 0.1026)
OKLCHoklch(57.42% 0.169 142.6)
XYZxyz(11.2936, 20.5840, 5.2970)
Luminance0.2059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9027 #8D2790
analogous
#5E9027 #2A9027 #279058
triadic
#2A9027 #272A90 #90272A
tetradic
#2A9027 #275E90 #8D2790 #905827
square
#2A9027 #275E90 #8D2790 #905827
split-complementary
#2A9027 #582790 #90275E
monochromatic
#0E300D #1C601A #2A9027 #38C034 #61D35E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9027#FFFFFF#000000##000000
##2A90271.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)
#938216
Deuteranopia (green-blind)
#877A32
Tritanopia (blue-blind)
#0D8C7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2a9027;
/* rgb */ color: rgb(42, 144, 39);
/* oklch */ color: oklch(57.4% 0.169 142.6);
Tailwind
colors: {
  custom: {
    50: '#73b168',
    500: '#2a9027',
    950: '#000000',
  },
}
SCSS
$custom: #2a9027;
$custom-light: #73b168;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9027",
  "rgb": {
    "r": 42,
    "g": 144,
    "b": 39
  },
  "hsl": {
    "h": 118.286,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57417,
    "c": 0.16899,
    "h": 142.6
  },
  "luminance": 0.20585
}

Semantic roles & 50–950 ramp

primary
#2A9027
secondary
#B65AB9
accent
#47E1DC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9027

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

Preview Lab → · Contrast checker → · Palette generator →

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