#2F9255#2F9255

#2F9255 is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.7% C 0.130 H 152.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2F9255
RGBrgb(47, 146, 85)
HSLhsl(143, 51%, 38%)
HSVhsv(143, 68%, 57%)
CMYKcmyk(67.8%, 0%, 41.8%, 42.7%)
CIE-LABlab(53.83, -42.79, 24.21)
CIE-LCHlch(53.83, 49.17, 150.50°)
OKLaboklab(58.74% -0.1155 0.0601)
OKLCHoklch(58.74% 0.13 152.5)
XYZxyz(13.0898, 21.8166, 12.1137)
Luminance0.2182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9255 #922F6C
analogous
#3B922F #2F9255 #2F9286
triadic
#2F9255 #552F92 #92552F
tetradic
#2F9255 #2F3B92 #922F6C #92862F
square
#2F9255 #2F3B92 #922F6C #92862F
split-complementary
#2F9255 #862F92 #922F3B
monochromatic
#11351F #20643A #2F9255 #3EC070 #6CD092

Accessibility & contrast

On white

3.92
#2F9255 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#2F9255 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9255
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9255#FFFFFF#000000##000000
##2F92551.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928651
Deuteranopia (green-blind)
#867D59
Tritanopia (blue-blind)
#009083
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f9255;
/* rgb */ color: rgb(47, 146, 85);
/* oklch */ color: oklch(58.7% 0.130 152.5);
Tailwind
colors: {
  custom: {
    50: '#74b385',
    500: '#2f9255',
    950: '#000000',
  },
}
SCSS
$custom: #2f9255;
$custom-light: #74b385;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9255",
  "rgb": {
    "r": 47,
    "g": 146,
    "b": 85
  },
  "hsl": {
    "h": 143.03,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58739,
    "c": 0.13022,
    "h": 152.5
  },
  "luminance": 0.21818
}

Semantic roles & 50–950 ramp

primary
#2F9255
secondary
#B76698
accent
#4DA4DB
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #2F9255

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

Preview Lab → · Contrast checker → · Palette generator →

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