#2F8023#2F8023

#2F8023 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.150 H 141.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2F8023
RGBrgb(47, 128, 35)
HSLhsl(112, 57%, 32%)
HSVhsv(112, 73%, 50%)
CMYKcmyk(63.3%, 0%, 72.7%, 49.8%)
CIE-LABlab(47.19, -42.84, 41.23)
CIE-LCHlch(47.19, 59.46, 136.09°)
OKLaboklab(53.05% -0.117 0.094)
OKLCHoklch(53.05% 0.15 141.2)
XYZxyz(9.1944, 16.1632, 4.2251)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8023 #742380
analogous
#5E8023 #2F8023 #238046
triadic
#2F8023 #232F80 #80232F
tetradic
#2F8023 #235E80 #742380 #804623
square
#2F8023 #235E80 #742380 #804623
split-complementary
#2F8023 #462380 #80235E
monochromatic
#0C2009 #1D5016 #2F8023 #41B030 #5FCF4F

Accessibility & contrast

On white

4.96
#2F8023 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2F8023 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8023
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8023#FFFFFF#000000##FFFFFF
##2F80231.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837414
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#227C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f8023;
/* rgb */ color: rgb(47, 128, 35);
/* oklch */ color: oklch(53.1% 0.150 141.2);
Tailwind
colors: {
  custom: {
    50: '#72a664',
    500: '#2f8023',
    950: '#000000',
  },
}
SCSS
$custom: #2f8023;
$custom-light: #72a664;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8023",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 112.258,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53054,
    "c": 0.15008,
    "h": 141.2
  },
  "luminance": 0.16164
}

Semantic roles & 50–950 ramp

primary
#2F8023
secondary
#A54DB2
accent
#47E0CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2F8023

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

Preview Lab → · Contrast checker → · Palette generator →

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