#2F9438#2F9438

#2F9438 is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.8% C 0.160 H 144.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2F9438
RGBrgb(47, 148, 56)
HSLhsl(125, 52%, 38%)
HSVhsv(125, 68%, 58%)
CMYKcmyk(68.2%, 0%, 62.2%, 42%)
CIE-LABlab(54.10, -48.05, 39.45)
CIE-LCHlch(54.10, 62.17, 140.61°)
OKLaboklab(58.83% -0.13 0.0926)
OKLCHoklch(58.83% 0.16 144.6)
XYZxyz(12.4752, 22.0684, 7.3428)
Luminance0.2207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9438 #942F8B
analogous
#58942F #2F9438 #2F946A
triadic
#2F9438 #382F94 #94382F
tetradic
#2F9438 #2F5894 #942F8B #946A2F
square
#2F9438 #2F5894 #942F8B #946A2F
split-complementary
#2F9438 #6A2F94 #942F58
monochromatic
#113715 #206626 #2F9438 #3EC24A #6DD176

Accessibility & contrast

On white

3.88
#2F9438 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#2F9438 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9438
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9438#FFFFFF#000000##000000
##2F94381.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97862E
Deuteranopia (green-blind)
#8B7E40
Tritanopia (blue-blind)
#129080
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2f9438;
/* rgb */ color: rgb(47, 148, 56);
/* oklch */ color: oklch(58.8% 0.160 144.6);
Tailwind
colors: {
  custom: {
    50: '#75b472',
    500: '#2f9438',
    950: '#000000',
  },
}
SCSS
$custom: #2f9438;
$custom-light: #75b472;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9438",
  "rgb": {
    "r": 47,
    "g": 148,
    "b": 56
  },
  "hsl": {
    "h": 125.347,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.58832,
    "c": 0.15964,
    "h": 144.6
  },
  "luminance": 0.2207
}

Semantic roles & 50–950 ramp

primary
#2F9438
secondary
#B867B1
accent
#4DCFDB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2F9438

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

Preview Lab → · Contrast checker → · Palette generator →

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