#2A8F23#2A8F23

#2A8F23 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.170 H 142.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2A8F23
RGBrgb(42, 143, 35)
HSLhsl(116, 61%, 35%)
HSVhsv(116, 76%, 56%)
CMYKcmyk(70.6%, 0%, 75.5%, 43.9%)
CIE-LABlab(52.13, -49.40, 46.24)
CIE-LCHlch(52.13, 67.67, 136.89°)
OKLaboklab(57.11% -0.1345 0.1045)
OKLCHoklch(57.11% 0.17 142.2)
XYZxyz(11.0800, 20.2573, 4.9159)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8F23 #88238F
analogous
#608F23 #2A8F23 #238F52
triadic
#2A8F23 #232A8F #8F232A
tetradic
#2A8F23 #23608F #88238F #8F5223
square
#2A8F23 #23608F #88238F #8F5223
split-complementary
#2A8F23 #52238F #8F2360
monochromatic
#0D2D0B #1C5E17 #2A8F23 #38C02F #5FD657

Accessibility & contrast

On white

4.16
#2A8F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#2A8F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8F23
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8F23#FFFFFF#000000##000000
##2A8F231.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#108B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8f23;
/* rgb */ color: rgb(42, 143, 35);
/* oklch */ color: oklch(57.1% 0.170 142.2);
Tailwind
colors: {
  custom: {
    50: '#73b165',
    500: '#2a8f23',
    950: '#000000',
  },
}
SCSS
$custom: #2a8f23;
$custom-light: #73b165;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8f23",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 116.111,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57106,
    "c": 0.17029,
    "h": 142.2
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

primary
#2A8F23
secondary
#B354BA
accent
#44E4D9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A8F23

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

Preview Lab → · Contrast checker → · Palette generator →

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