#2F8230#2F8230

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

Color values

HEX#2F8230
RGBrgb(47, 130, 48)
HSLhsl(121, 47%, 35%)
HSVhsv(121, 64%, 51%)
CMYKcmyk(63.8%, 0%, 63.1%, 49%)
CIE-LABlab(47.98, -42.23, 36.28)
CIE-LCHlch(47.98, 55.67, 139.34°)
OKLaboklab(53.75% -0.1147 0.085)
OKLCHoklch(53.75% 0.143 143.5)
XYZxyz(9.6879, 16.7821, 5.5245)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8230 #822F81
analogous
#58822F #2F8230 #2F825A
triadic
#2F8230 #302F82 #82302F
tetradic
#2F8230 #2F5882 #822F81 #825A2F
square
#2F8230 #2F5882 #822F81 #825A2F
split-complementary
#2F8230 #5A2F82 #822F58
monochromatic
#0E280F #1F551F #2F8230 #3FAF41 #64C766

Accessibility & contrast

On white

4.82
#2F8230 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2F8230 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8230
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8230#FFFFFF#000000##FFFFFF
##2F82301.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857627
Deuteranopia (green-blind)
#7A6F37
Tritanopia (blue-blind)
#1E7E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8230;
/* rgb */ color: rgb(47, 130, 48);
/* oklch */ color: oklch(53.8% 0.143 143.5);
Tailwind
colors: {
  custom: {
    50: '#72a76b',
    500: '#2f8230',
    950: '#000000',
  },
}
SCSS
$custom: #2f8230;
$custom-light: #72a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8230",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 48
  },
  "hsl": {
    "h": 120.723,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5375,
    "c": 0.14274,
    "h": 143.5
  },
  "luminance": 0.16783
}

Semantic roles & 50–950 ramp

primary
#2F8230
secondary
#AE5FAD
accent
#51D5D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #2F8230

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

Preview Lab → · Contrast checker → · Palette generator →

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