#2F9039#2F9039

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

Color values

HEX#2F9039
RGBrgb(47, 144, 57)
HSLhsl(126, 51%, 37%)
HSVhsv(126, 67%, 56%)
CMYKcmyk(67.4%, 0%, 60.4%, 43.5%)
CIE-LABlab(52.78, -46.45, 37.46)
CIE-LCHlch(52.78, 59.67, 141.11°)
OKLaboklab(57.74% -0.1257 0.0884)
OKLCHoklch(57.74% 0.154 144.9)
XYZxyz(11.8833, 20.8450, 7.2673)
Luminance0.2085 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9039 #902F86
analogous
#55902F #2F9039 #2F906A
triadic
#2F9039 #392F90 #90392F
tetradic
#2F9039 #2F5590 #902F86 #906A2F
square
#2F9039 #2F5590 #902F86 #906A2F
split-complementary
#2F9039 #6A2F90 #902F55
monochromatic
#113414 #206227 #2F9039 #3EBE4B #6BCF75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F9039#FFFFFF#000000##000000
##2F90391.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)
#928330
Deuteranopia (green-blind)
#877B40
Tritanopia (blue-blind)
#148C7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f9039;
/* rgb */ color: rgb(47, 144, 57);
/* oklch */ color: oklch(57.7% 0.154 144.9);
Tailwind
colors: {
  custom: {
    50: '#74b172',
    500: '#2f9039',
    950: '#000000',
  },
}
SCSS
$custom: #2f9039;
$custom-light: #74b172;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9039",
  "rgb": {
    "r": 47,
    "g": 144,
    "b": 57
  },
  "hsl": {
    "h": 126.186,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57744,
    "c": 0.15363,
    "h": 144.9
  },
  "luminance": 0.20846
}

Semantic roles & 50–950 ramp

primary
#2F9039
secondary
#B665AD
accent
#4ECCDA
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2F9039

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

Preview Lab → · Contrast checker → · Palette generator →

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