#2F8535#2F8535

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

Color values

HEX#2F8535
RGBrgb(47, 133, 53)
HSLhsl(124, 48%, 35%)
HSVhsv(124, 65%, 52%)
CMYKcmyk(64.7%, 0%, 60.2%, 47.8%)
CIE-LABlab(49.05, -42.77, 35.07)
CIE-LCHlch(49.05, 55.31, 140.65°)
OKLaboklab(54.65% -0.1159 0.0829)
OKLCHoklch(54.65% 0.142 144.4)
XYZxyz(10.2018, 17.6354, 6.2338)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8535 #852F7F
analogous
#54852F #2F8535 #2F8560
triadic
#2F8535 #352F85 #85352F
tetradic
#2F8535 #2F5485 #852F7F #85602F
square
#2F8535 #2F5485 #852F7F #85602F
split-complementary
#2F8535 #602F85 #852F54
monochromatic
#0F2B11 #1F5823 #2F8535 #3FB247 #66C96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8535#FFFFFF#000000##FFFFFF
##2F85351.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)
#87792D
Deuteranopia (green-blind)
#7D723B
Tritanopia (blue-blind)
#1C8174
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8535;
/* rgb */ color: rgb(47, 133, 53);
/* oklch */ color: oklch(54.6% 0.142 144.4);
Tailwind
colors: {
  custom: {
    50: '#72a96f',
    500: '#2f8535',
    950: '#000000',
  },
}
SCSS
$custom: #2f8535;
$custom-light: #72a96f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8535",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 53
  },
  "hsl": {
    "h": 124.186,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54649,
    "c": 0.14248,
    "h": 144.4
  },
  "luminance": 0.17636
}

Semantic roles & 50–950 ramp

primary
#2F8535
secondary
#B060AA
accent
#50CED7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8535

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

Preview Lab → · Contrast checker → · Palette generator →

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