#2F8237#2F8237

#2F8237 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.8% C 0.137 H 145.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2F8237
RGBrgb(47, 130, 55)
HSLhsl(126, 47%, 35%)
HSVhsv(126, 64%, 51%)
CMYKcmyk(63.8%, 0%, 57.7%, 49%)
CIE-LABlab(48.06, -41.33, 32.91)
CIE-LCHlch(48.06, 52.83, 141.47°)
OKLaboklab(53.84% -0.1119 0.0783)
OKLCHoklch(53.84% 0.137 145)
XYZxyz(9.8439, 16.8445, 6.3462)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8237 #822F7A
analogous
#51822F #2F8237 #2F8261
triadic
#2F8237 #372F82 #82372F
tetradic
#2F8237 #2F5182 #822F7A #82612F
square
#2F8237 #2F5182 #822F7A #82612F
split-complementary
#2F8237 #612F82 #822F51
monochromatic
#0E2811 #1F5524 #2F8237 #3FAF4A #64C76E

Accessibility & contrast

On white

4.81
#2F8237 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2F8237 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8237
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8237#FFFFFF#000000##FFFFFF
##2F82371.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847630
Deuteranopia (green-blind)
#7A6F3D
Tritanopia (blue-blind)
#1C7F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8237;
/* rgb */ color: rgb(47, 130, 55);
/* oklch */ color: oklch(53.8% 0.137 145.0);
Tailwind
colors: {
  custom: {
    50: '#72a770',
    500: '#2f8237',
    950: '#000000',
  },
}
SCSS
$custom: #2f8237;
$custom-light: #72a770;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8237",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 55
  },
  "hsl": {
    "h": 125.783,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.53841,
    "c": 0.1366,
    "h": 145
  },
  "luminance": 0.16845
}

Semantic roles & 50–950 ramp

primary
#2F8237
secondary
#AE5FA6
accent
#51CAD7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F8237

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

Preview Lab → · Contrast checker → · Palette generator →

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