#2F8F33#2F8F33

#2F8F33 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.157 H 143.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2F8F33
RGBrgb(47, 143, 51)
HSLhsl(123, 51%, 37%)
HSVhsv(123, 67%, 56%)
CMYKcmyk(67.1%, 0%, 64.3%, 43.9%)
CIE-LABlab(52.38, -46.80, 39.84)
CIE-LCHlch(52.38, 61.46, 139.60°)
OKLaboklab(57.4% -0.1269 0.0929)
OKLCHoklch(57.4% 0.157 143.8)
XYZxyz(11.5916, 20.4871, 6.4749)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F33 #8F2F8B
analogous
#5B8F2F #2F8F33 #2F8F63
triadic
#2F8F33 #332F8F #8F332F
tetradic
#2F8F33 #2F5B8F #8F2F8B #8F632F
square
#2F8F33 #2F5B8F #8F2F8B #8F632F
split-complementary
#2F8F33 #632F8F #8F2F5B
monochromatic
#113312 #206123 #2F8F33 #3EBD43 #6ACE6E

Accessibility & contrast

On white

4.12
#2F8F33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#2F8F33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F33
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F33#FFFFFF#000000##000000
##2F8F331.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928228
Deuteranopia (green-blind)
#867A3B
Tritanopia (blue-blind)
#178B7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f8f33;
/* rgb */ color: rgb(47, 143, 51);
/* oklch */ color: oklch(57.4% 0.157 143.8);
Tailwind
colors: {
  custom: {
    50: '#74b16e',
    500: '#2f8f33',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f33;
$custom-light: #74b16e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f33",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 51
  },
  "hsl": {
    "h": 122.5,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57396,
    "c": 0.15728,
    "h": 143.8
  },
  "luminance": 0.20488
}

Semantic roles & 50–950 ramp

primary
#2F8F33
secondary
#B565B2
accent
#4ED4DA
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2F8F33

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

Preview Lab → · Contrast checker → · Palette generator →

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