#2A9026#2A9026

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

Color values

HEX#2A9026
RGBrgb(42, 144, 38)
HSLhsl(118, 58%, 36%)
HSVhsv(118, 74%, 56%)
CMYKcmyk(70.8%, 0%, 73.6%, 43.5%)
CIE-LABlab(52.48, -49.50, 45.46)
CIE-LCHlch(52.48, 67.21, 137.43°)
OKLaboklab(57.41% -0.1346 0.1033)
OKLCHoklch(57.41% 0.17 142.5)
XYZxyz(11.2773, 20.5775, 5.2109)
Luminance0.2058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9026 #8C2690
analogous
#5F9026 #2A9026 #269057
triadic
#2A9026 #262A90 #90262A
tetradic
#2A9026 #265F90 #8C2690 #905726
square
#2A9026 #265F90 #8C2690 #905726
split-complementary
#2A9026 #572690 #90265F
monochromatic
#0E2F0C #1C6019 #2A9026 #38C033 #61D45C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9026#FFFFFF#000000##000000
##2A90261.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)
#938214
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#0D8C7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2a9026;
/* rgb */ color: rgb(42, 144, 38);
/* oklch */ color: oklch(57.4% 0.170 142.5);
Tailwind
colors: {
  custom: {
    50: '#73b267',
    500: '#2a9026',
    950: '#000000',
  },
}
SCSS
$custom: #2a9026;
$custom-light: #73b267;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9026",
  "rgb": {
    "r": 42,
    "g": 144,
    "b": 38
  },
  "hsl": {
    "h": 117.736,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57408,
    "c": 0.16963,
    "h": 142.5
  },
  "luminance": 0.20579
}

Semantic roles & 50–950 ramp

primary
#2A9026
secondary
#B559B9
accent
#46E1DC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9026

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

Preview Lab → · Contrast checker → · Palette generator →

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