#2F9838#2F9838

#2F9838 is a mid, vivid green. Relative luminance 0.233; OKLCH L 59.9% C 0.165 H 144.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2F9838
RGBrgb(47, 152, 56)
HSLhsl(125, 53%, 39%)
HSVhsv(125, 69%, 60%)
CMYKcmyk(69.1%, 0%, 63.2%, 40.4%)
CIE-LABlab(55.43, -49.51, 40.96)
CIE-LCHlch(55.43, 64.26, 140.40°)
OKLaboklab(59.93% -0.134 0.0958)
OKLCHoklch(59.93% 0.165 144.4)
XYZxyz(13.1135, 23.3449, 7.5555)
Luminance0.2335 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9838 #982F8F
analogous
#5B982F #2F9838 #2F986D
triadic
#2F9838 #382F98 #98382F
tetradic
#2F9838 #2F5B98 #982F8F #986D2F
square
#2F9838 #2F5B98 #982F8F #986D2F
split-complementary
#2F9838 #6D2F98 #982F5B
monochromatic
#123B16 #216927 #2F9838 #40C44B #6FD277

Accessibility & contrast

On white

3.70
#2F9838 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#2F9838 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9838
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9838#FFFFFF#000000##000000
##2F98381.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A2D
Deuteranopia (green-blind)
#8E8140
Tritanopia (blue-blind)
#0E9484
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f9838;
/* rgb */ color: rgb(47, 152, 56);
/* oklch */ color: oklch(59.9% 0.165 144.4);
Tailwind
colors: {
  custom: {
    50: '#76b772',
    500: '#2f9838',
    950: '#000000',
  },
}
SCSS
$custom: #2f9838;
$custom-light: #76b772;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9838",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 56
  },
  "hsl": {
    "h": 125.143,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59929,
    "c": 0.16473,
    "h": 144.4
  },
  "luminance": 0.23346
}

Semantic roles & 50–950 ramp

primary
#2F9838
secondary
#BA69B3
accent
#4CD0DC
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #2F9838

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

Preview Lab → · Contrast checker → · Palette generator →

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