#2F8A23#2F8A23

#2F8A23 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.162 H 141.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2F8A23
RGBrgb(47, 138, 35)
HSLhsl(113, 60%, 34%)
HSVhsv(113, 75%, 54%)
CMYKcmyk(65.9%, 0%, 74.6%, 45.9%)
CIE-LABlab(50.57, -46.55, 44.71)
CIE-LCHlch(50.57, 64.55, 136.15°)
OKLaboklab(55.85% -0.1271 0.1012)
OKLCHoklch(55.85% 0.162 141.5)
XYZxyz(10.5636, 18.9016, 4.6815)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A23 #7E238A
analogous
#638A23 #2F8A23 #238A4B
triadic
#2F8A23 #232F8A #8A232F
tetradic
#2F8A23 #23638A #7E238A #8A4B23
square
#2F8A23 #23638A #7E238A #8A4B23
split-complementary
#2F8A23 #4B238A #8A2363
monochromatic
#0E280A #1E5917 #2F8A23 #40BB2F #63D454

Accessibility & contrast

On white

4.39
#2F8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2F8A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A23
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A23#FFFFFF#000000##000000
##2F8A231.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D10
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#1E8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8a23;
/* rgb */ color: rgb(47, 138, 35);
/* oklch */ color: oklch(55.9% 0.162 141.5);
Tailwind
colors: {
  custom: {
    50: '#74ad65',
    500: '#2f8a23',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a23;
$custom-light: #74ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a23",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 113.01,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55854,
    "c": 0.16248,
    "h": 141.5
  },
  "luminance": 0.18903
}

Semantic roles & 50–950 ramp

primary
#2F8A23
secondary
#AC51B7
accent
#45E3D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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