#2F8522#2F8522

#2F8522 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.157 H 141.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2F8522
RGBrgb(47, 133, 34)
HSLhsl(112, 59%, 33%)
HSVhsv(112, 74%, 52%)
CMYKcmyk(64.7%, 0%, 74.4%, 47.8%)
CIE-LABlab(48.88, -44.80, 43.38)
CIE-LCHlch(48.88, 62.36, 135.92°)
OKLaboklab(54.45% -0.1224 0.0983)
OKLCHoklch(54.45% 0.157 141.2)
XYZxyz(9.8481, 17.4939, 4.3707)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8522 #782285
analogous
#608522 #2F8522 #228546
triadic
#2F8522 #222F85 #85222F
tetradic
#2F8522 #226085 #782285 #854622
square
#2F8522 #226085 #782285 #854622
split-complementary
#2F8522 #462285 #852260
monochromatic
#0D2409 #1E5416 #2F8522 #40B62E #60D24F

Accessibility & contrast

On white

4.67
#2F8522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F8522
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8522#FFFFFF#000000##FFFFFF
##2F85221.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#7E712C
Tritanopia (blue-blind)
#218172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8522;
/* rgb */ color: rgb(47, 133, 34);
/* oklch */ color: oklch(54.4% 0.157 141.2);
Tailwind
colors: {
  custom: {
    50: '#73a964',
    500: '#2f8522',
    950: '#000000',
  },
}
SCSS
$custom: #2f8522;
$custom-light: #73a964;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8522",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 112.121,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54448,
    "c": 0.15699,
    "h": 141.2
  },
  "luminance": 0.17495
}

Semantic roles & 50–950 ramp

primary
#2F8522
secondary
#A84DB6
accent
#45E2CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8522

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

Preview Lab → · Contrast checker → · Palette generator →

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