#2A8253#2A8253

#2A8253 is a mid, moderate green. Relative luminance 0.171; OKLCH L 54.2% C 0.111 H 156.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2A8253
RGBrgb(42, 130, 83)
HSLhsl(148, 51%, 34%)
HSVhsv(148, 68%, 51%)
CMYKcmyk(67.7%, 0%, 36.2%, 49%)
CIE-LABlab(48.36, -37.52, 18.03)
CIE-LCHlch(48.36, 41.63, 154.34°)
OKLaboklab(54.19% -0.1017 0.0453)
OKLCHoklch(54.19% 0.111 156)
XYZxyz(10.4979, 17.0809, 10.9256)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8253 #822A59
analogous
#2D822A #2A8253 #2A827F
triadic
#2A8253 #532A82 #82532A
tetradic
#2A8253 #2A2D82 #822A59 #827F2A
square
#2A8253 #2A2D82 #822A59 #827F2A
split-complementary
#2A8253 #7F2A82 #822A2D
monochromatic
#0C2518 #1B5435 #2A8253 #39B071 #5CCA8F

Accessibility & contrast

On white

4.76
#2A8253 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2A8253 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8253
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8253#FFFFFF#000000##FFFFFF
##2A82531.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817850
Deuteranopia (green-blind)
#767056
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a8253;
/* rgb */ color: rgb(42, 130, 83);
/* oklch */ color: oklch(54.2% 0.111 156.0);
Tailwind
colors: {
  custom: {
    50: '#6fa783',
    500: '#2a8253',
    950: '#000000',
  },
}
SCSS
$custom: #2a8253;
$custom-light: #6fa783;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8253",
  "rgb": {
    "r": 42,
    "g": 130,
    "b": 83
  },
  "hsl": {
    "h": 147.955,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5419,
    "c": 0.11139,
    "h": 156
  },
  "luminance": 0.17082
}

Semantic roles & 50–950 ramp

primary
#2A8253
secondary
#B05887
accent
#4D99DB
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2A8253

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

Preview Lab → · Contrast checker → · Palette generator →

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