#2F8525#2F8525

#2F8525 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.155 H 141.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2F8525
RGBrgb(47, 133, 37)
HSLhsl(114, 56%, 33%)
HSVhsv(114, 72%, 52%)
CMYKcmyk(64.7%, 0%, 72.2%, 47.8%)
CIE-LABlab(48.90, -44.54, 42.19)
CIE-LCHlch(48.90, 61.35, 136.55°)
OKLaboklab(54.47% -0.1215 0.0962)
OKLCHoklch(54.47% 0.155 141.6)
XYZxyz(9.8932, 17.5120, 4.6087)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8525 #7B2585
analogous
#5F8525 #2F8525 #25854B
triadic
#2F8525 #252F85 #85252F
tetradic
#2F8525 #255F85 #7B2585 #854B25
square
#2F8525 #255F85 #7B2585 #854B25
split-complementary
#2F8525 #4B2585 #85255F
monochromatic
#0D250A #1E5518 #2F8525 #40B532 #62D055

Accessibility & contrast

On white

4.66
#2F8525 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2F8525 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8525
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8525#FFFFFF#000000##FFFFFF
##2F85251.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887916
Deuteranopia (green-blind)
#7E712E
Tritanopia (blue-blind)
#208172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8525;
/* rgb */ color: rgb(47, 133, 37);
/* oklch */ color: oklch(54.5% 0.155 141.6);
Tailwind
colors: {
  custom: {
    50: '#73a965',
    500: '#2f8525',
    950: '#000000',
  },
}
SCSS
$custom: #2f8525;
$custom-light: #73a965;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8525",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 37
  },
  "hsl": {
    "h": 113.75,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54474,
    "c": 0.15501,
    "h": 141.6
  },
  "luminance": 0.17513
}

Semantic roles & 50–950 ramp

primary
#2F8525
secondary
#AA52B4
accent
#48E0D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8525

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

Preview Lab → · Contrast checker → · Palette generator →

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