#2F8A25#2F8A25

#2F8A25 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.161 H 141.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2F8A25
RGBrgb(47, 138, 37)
HSLhsl(114, 58%, 34%)
HSVhsv(114, 73%, 54%)
CMYKcmyk(65.9%, 0%, 73.2%, 45.9%)
CIE-LABlab(50.59, -46.38, 43.95)
CIE-LCHlch(50.59, 63.89, 136.55°)
OKLaboklab(55.87% -0.1265 0.0999)
OKLCHoklch(55.87% 0.161 141.7)
XYZxyz(10.5941, 18.9138, 4.8423)
Luminance0.1892 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A25 #80258A
analogous
#628A25 #2F8A25 #258A4D
triadic
#2F8A25 #252F8A #8A252F
tetradic
#2F8A25 #25628A #80258A #8A4D25
square
#2F8A25 #25628A #80258A #8A4D25
split-complementary
#2F8A25 #4D258A #8A2562
monochromatic
#0E290B #1F5A18 #2F8A25 #3FBA32 #64D257

Accessibility & contrast

On white

4.39
#2F8A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2F8A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A25
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A25#FFFFFF#000000##000000
##2F8A251.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D14
Deuteranopia (green-blind)
#82762F
Tritanopia (blue-blind)
#1E8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8a25;
/* rgb */ color: rgb(47, 138, 37);
/* oklch */ color: oklch(55.9% 0.161 141.7);
Tailwind
colors: {
  custom: {
    50: '#74ad66',
    500: '#2f8a25',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a25;
$custom-light: #74ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a25",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 114.059,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5587,
    "c": 0.1612,
    "h": 141.7
  },
  "luminance": 0.18915
}

Semantic roles & 50–950 ramp

primary
#2F8A25
secondary
#AD54B7
accent
#47E1D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8A25

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

Preview Lab → · Contrast checker → · Palette generator →

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