#2F8534#2F8534

#2F8534 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.143 H 144.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2F8534
RGBrgb(47, 133, 52)
HSLhsl(123, 48%, 35%)
HSVhsv(123, 65%, 52%)
CMYKcmyk(64.7%, 0%, 60.9%, 47.8%)
CIE-LABlab(49.04, -42.90, 35.55)
CIE-LCHlch(49.04, 55.72, 140.35°)
OKLaboklab(54.64% -0.1163 0.0838)
OKLCHoklch(54.64% 0.143 144.2)
XYZxyz(10.1790, 17.6263, 6.1139)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8534 #852F80
analogous
#55852F #2F8534 #2F855F
triadic
#2F8534 #342F85 #85342F
tetradic
#2F8534 #2F5585 #852F80 #855F2F
square
#2F8534 #2F5585 #852F80 #855F2F
split-complementary
#2F8534 #5F2F85 #852F55
monochromatic
#0F2B11 #1F5822 #2F8534 #3FB246 #66C96B

Accessibility & contrast

On white

4.64
#2F8534 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2F8534 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8534
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8534#FFFFFF#000000##FFFFFF
##2F85341.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87792C
Deuteranopia (green-blind)
#7D723A
Tritanopia (blue-blind)
#1C8173
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8534;
/* rgb */ color: rgb(47, 133, 52);
/* oklch */ color: oklch(54.6% 0.143 144.2);
Tailwind
colors: {
  custom: {
    50: '#72a96e',
    500: '#2f8534',
    950: '#000000',
  },
}
SCSS
$custom: #2f8534;
$custom-light: #72a96e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8534",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 52
  },
  "hsl": {
    "h": 123.488,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54636,
    "c": 0.14334,
    "h": 144.2
  },
  "luminance": 0.17627
}

Semantic roles & 50–950 ramp

primary
#2F8534
secondary
#B060AB
accent
#50D0D7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8534

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

Preview Lab → · Contrast checker → · Palette generator →

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