#2A9F23#2A9F23

#2A9F23 is a mid, vivid green. Relative luminance 0.254; OKLCH L 61.5% C 0.189 H 142.2°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2A9F23
RGBrgb(42, 159, 35)
HSLhsl(117, 64%, 38%)
HSVhsv(117, 78%, 62%)
CMYKcmyk(73.6%, 0%, 78%, 37.6%)
CIE-LABlab(57.47, -54.81, 51.53)
CIE-LCHlch(57.47, 75.23, 136.77°)
OKLaboklab(61.54% -0.1491 0.1155)
OKLCHoklch(61.54% 0.189 142.2)
XYZxyz(13.6556, 25.4083, 5.7744)
Luminance0.2541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9F23 #98239F
analogous
#689F23 #2A9F23 #239F5A
triadic
#2A9F23 #232A9F #9F232A
tetradic
#2A9F23 #23689F #98239F #9F5A23
square
#2A9F23 #23689F #98239F #9F5A23
split-complementary
#2A9F23 #5A239F #9F2368
monochromatic
#103B0D #1D6D18 #2A9F23 #37D12E #67DC60

Accessibility & contrast

On white

3.45
#2A9F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#2A9F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9F23
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9F23#FFFFFF#000000##000000
##2A9F231.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39003
Deuteranopia (green-blind)
#968731
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2a9f23;
/* rgb */ color: rgb(42, 159, 35);
/* oklch */ color: oklch(61.5% 0.189 142.2);
Tailwind
colors: {
  custom: {
    50: '#77bc68',
    500: '#2a9f23',
    950: '#000000',
  },
}
SCSS
$custom: #2a9f23;
$custom-light: #77bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9f23",
  "rgb": {
    "r": 42,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 116.613,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61541,
    "c": 0.18863,
    "h": 142.2
  },
  "luminance": 0.2541
}

Semantic roles & 50–950 ramp

primary
#2A9F23
secondary
#BB5DC1
accent
#41E7DE
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2A9F23

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

Preview Lab → · Contrast checker → · Palette generator →

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