#2F8526#2F8526

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

Color values

HEX#2F8526
RGBrgb(47, 133, 38)
HSLhsl(114, 56%, 34%)
HSVhsv(114, 71%, 52%)
CMYKcmyk(64.7%, 0%, 71.4%, 47.8%)
CIE-LABlab(48.91, -44.44, 41.79)
CIE-LCHlch(48.91, 61.00, 136.76°)
OKLaboklab(54.48% -0.1212 0.0955)
OKLCHoklch(54.48% 0.154 141.8)
XYZxyz(9.9091, 17.5184, 4.6925)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8526 #7C2685
analogous
#5E8526 #2F8526 #26854C
triadic
#2F8526 #262F85 #85262F
tetradic
#2F8526 #265E85 #7C2685 #854C26
square
#2F8526 #265E85 #7C2685 #854C26
split-complementary
#2F8526 #4C2685 #85265E
monochromatic
#0D260B #1E5518 #2F8526 #40B534 #62CF57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8526#FFFFFF#000000##FFFFFF
##2F85261.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)
#887918
Deuteranopia (green-blind)
#7E712F
Tritanopia (blue-blind)
#208172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8526;
/* rgb */ color: rgb(47, 133, 38);
/* oklch */ color: oklch(54.5% 0.154 141.8);
Tailwind
colors: {
  custom: {
    50: '#73a966',
    500: '#2f8526',
    950: '#000000',
  },
}
SCSS
$custom: #2f8526;
$custom-light: #73a966;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8526",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 38
  },
  "hsl": {
    "h": 114.316,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54483,
    "c": 0.15432,
    "h": 141.8
  },
  "luminance": 0.17519
}

Semantic roles & 50–950 ramp

primary
#2F8526
secondary
#AA53B3
accent
#49DFD1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8526

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

Preview Lab → · Contrast checker → · Palette generator →

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