#2F9038#2F9038

#2F9038 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.7% C 0.154 H 144.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2F9038
RGBrgb(47, 144, 56)
HSLhsl(126, 51%, 37%)
HSVhsv(126, 67%, 56%)
CMYKcmyk(67.4%, 0%, 61.1%, 43.5%)
CIE-LABlab(52.77, -46.57, 37.93)
CIE-LCHlch(52.77, 60.06, 140.84°)
OKLaboklab(57.73% -0.126 0.0893)
OKLCHoklch(57.73% 0.154 144.7)
XYZxyz(11.8586, 20.8352, 7.1373)
Luminance0.2084 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9038 #902F87
analogous
#57902F #2F9038 #2F9068
triadic
#2F9038 #382F90 #90382F
tetradic
#2F9038 #2F5790 #902F87 #90682F
square
#2F9038 #2F5790 #902F87 #90682F
split-complementary
#2F9038 #682F90 #902F57
monochromatic
#113414 #206226 #2F9038 #3EBE4A #6BCF74

Accessibility & contrast

On white

4.06
#2F9038 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#2F9038 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9038
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9038#FFFFFF#000000##000000
##2F90381.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832F
Deuteranopia (green-blind)
#877B3F
Tritanopia (blue-blind)
#148C7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f9038;
/* rgb */ color: rgb(47, 144, 56);
/* oklch */ color: oklch(57.7% 0.154 144.7);
Tailwind
colors: {
  custom: {
    50: '#74b172',
    500: '#2f9038',
    950: '#000000',
  },
}
SCSS
$custom: #2f9038;
$custom-light: #74b172;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9038",
  "rgb": {
    "r": 47,
    "g": 144,
    "b": 56
  },
  "hsl": {
    "h": 125.567,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57731,
    "c": 0.15448,
    "h": 144.7
  },
  "luminance": 0.20836
}

Semantic roles & 50–950 ramp

primary
#2F9038
secondary
#B665AE
accent
#4ECDDA
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2F9038

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

Preview Lab → · Contrast checker → · Palette generator →

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