#2F8233#2F8233

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

Color values

HEX#2F8233
RGBrgb(47, 130, 51)
HSLhsl(123, 47%, 35%)
HSVhsv(123, 64%, 51%)
CMYKcmyk(63.8%, 0%, 60.8%, 49%)
CIE-LABlab(48.02, -41.86, 34.86)
CIE-LCHlch(48.02, 54.47, 140.22°)
OKLaboklab(53.79% -0.1135 0.0822)
OKLCHoklch(53.79% 0.14 144.1)
XYZxyz(9.7519, 16.8077, 5.8616)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8233 #822F7E
analogous
#54822F #2F8233 #2F825D
triadic
#2F8233 #332F82 #82332F
tetradic
#2F8233 #2F5482 #822F7E #825D2F
square
#2F8233 #2F5482 #822F7E #825D2F
split-complementary
#2F8233 #5D2F82 #822F54
monochromatic
#0E2810 #1F5521 #2F8233 #3FAF45 #64C769

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8233#FFFFFF#000000##FFFFFF
##2F82331.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762B
Deuteranopia (green-blind)
#7A6F39
Tritanopia (blue-blind)
#1E7F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8233;
/* rgb */ color: rgb(47, 130, 51);
/* oklch */ color: oklch(53.8% 0.140 144.1);
Tailwind
colors: {
  custom: {
    50: '#72a76d',
    500: '#2f8233',
    950: '#000000',
  },
}
SCSS
$custom: #2f8233;
$custom-light: #72a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8233",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 51
  },
  "hsl": {
    "h": 122.892,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.53788,
    "c": 0.14017,
    "h": 144.1
  },
  "luminance": 0.16809
}

Semantic roles & 50–950 ramp

primary
#2F8233
secondary
#AE5FAA
accent
#51D0D7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F8233

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

Preview Lab → · Contrast checker → · Palette generator →

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