#2F7526#2F7526

#2F7526 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.133 H 141.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2F7526
RGBrgb(47, 117, 38)
HSLhsl(113, 51%, 30%)
HSVhsv(113, 68%, 46%)
CMYKcmyk(59.8%, 0%, 67.5%, 54.1%)
CIE-LABlab(43.46, -38.23, 35.93)
CIE-LCHlch(43.46, 52.47, 136.78°)
OKLaboklab(49.98% -0.1044 0.0832)
OKLCHoklch(49.98% 0.133 141.5)
XYZxyz(7.8830, 13.4662, 4.0172)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7526 #6C2675
analogous
#567526 #2F7526 #267545
triadic
#2F7526 #262F75 #75262F
tetradic
#2F7526 #265675 #6C2675 #754526
square
#2F7526 #265675 #6C2675 #754526
split-complementary
#2F7526 #452675 #752656
monochromatic
#0A1908 #1C4717 #2F7526 #42A335 #5DC64F

Accessibility & contrast

On white

5.69
#2F7526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2F7526 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7526
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7526#FFFFFF#000000##FFFFFF
##2F75261.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A1C
Deuteranopia (green-blind)
#6F642D
Tritanopia (blue-blind)
#257165
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7526;
/* rgb */ color: rgb(47, 117, 38);
/* oklch */ color: oklch(50.0% 0.133 141.5);
Tailwind
colors: {
  custom: {
    50: '#709d64',
    500: '#2f7526',
    950: '#000000',
  },
}
SCSS
$custom: #2f7526;
$custom-light: #709d64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7526",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 113.165,
    "s": 50.968,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49982,
    "c": 0.13348,
    "h": 141.5
  },
  "luminance": 0.13467
}

Semantic roles & 50–950 ramp

primary
#2F7526
secondary
#9D4FA7
accent
#4DDACA
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F7526

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

Preview Lab → · Contrast checker → · Palette generator →

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