#2A9023#2A9023

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

Color values

HEX#2A9023
RGBrgb(42, 144, 35)
HSLhsl(116, 61%, 35%)
HSVhsv(116, 76%, 56%)
CMYKcmyk(70.8%, 0%, 75.7%, 43.5%)
CIE-LABlab(52.46, -49.75, 46.58)
CIE-LCHlch(52.46, 68.15, 136.88°)
OKLaboklab(57.39% -0.1354 0.1052)
OKLCHoklch(57.39% 0.171 142.2)
XYZxyz(11.2308, 20.5589, 4.9662)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9023 #892390
analogous
#609023 #2A9023 #239053
triadic
#2A9023 #232A90 #90232A
tetradic
#2A9023 #236090 #892390 #905323
square
#2A9023 #236090 #892390 #905323
split-complementary
#2A9023 #532390 #902360
monochromatic
#0D2E0B #1C5F17 #2A9023 #38C12F #5FD657

Accessibility & contrast

On white

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

On black

5.11
#2A9023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9023
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9023#FFFFFF#000000##000000
##2A90231.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820D
Deuteranopia (green-blind)
#887A2F
Tritanopia (blue-blind)
#0F8C7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2a9023;
/* rgb */ color: rgb(42, 144, 35);
/* oklch */ color: oklch(57.4% 0.171 142.2);
Tailwind
colors: {
  custom: {
    50: '#73b266',
    500: '#2a9023',
    950: '#000000',
  },
}
SCSS
$custom: #2a9023;
$custom-light: #73b266;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9023",
  "rgb": {
    "r": 42,
    "g": 144,
    "b": 35
  },
  "hsl": {
    "h": 116.147,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57385,
    "c": 0.17147,
    "h": 142.2
  },
  "luminance": 0.2056
}

Semantic roles & 50–950 ramp

primary
#2A9023
secondary
#B454BA
accent
#44E4DA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9023

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

Preview Lab → · Contrast checker → · Palette generator →

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