#2F8123#2F8123

#2F8123 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.151 H 141.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2F8123
RGBrgb(47, 129, 35)
HSLhsl(112, 57%, 32%)
HSVhsv(112, 73%, 51%)
CMYKcmyk(63.6%, 0%, 72.9%, 49.4%)
CIE-LABlab(47.53, -43.21, 41.59)
CIE-LCHlch(47.53, 59.98, 136.10°)
OKLaboklab(53.34% -0.1181 0.0947)
OKLCHoklch(53.34% 0.151 141.3)
XYZxyz(9.3255, 16.4253, 4.2687)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8123 #752381
analogous
#5E8123 #2F8123 #238146
triadic
#2F8123 #232F81 #81232F
tetradic
#2F8123 #235E81 #752381 #814623
square
#2F8123 #235E81 #752381 #814623
split-complementary
#2F8123 #462381 #81235E
monochromatic
#0C2109 #1D5116 #2F8123 #41B130 #5FCF4F

Accessibility & contrast

On white

4.90
#2F8123 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2F8123 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8123
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8123#FFFFFF#000000##FFFFFF
##2F81231.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847514
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#227D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f8123;
/* rgb */ color: rgb(47, 129, 35);
/* oklch */ color: oklch(53.3% 0.151 141.3);
Tailwind
colors: {
  custom: {
    50: '#72a664',
    500: '#2f8123',
    950: '#000000',
  },
}
SCSS
$custom: #2f8123;
$custom-light: #72a664;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8123",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 112.34,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53335,
    "c": 0.15135,
    "h": 141.3
  },
  "luminance": 0.16426
}

Semantic roles & 50–950 ramp

primary
#2F8123
secondary
#A64DB3
accent
#47E1CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2F8123

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

Preview Lab → · Contrast checker → · Palette generator →

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