#2F8523#2F8523

#2F8523 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.156 H 141.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2F8523
RGBrgb(47, 133, 35)
HSLhsl(113, 58%, 33%)
HSVhsv(113, 74%, 52%)
CMYKcmyk(64.7%, 0%, 73.7%, 47.8%)
CIE-LABlab(48.88, -44.71, 42.99)
CIE-LCHlch(48.88, 62.03, 136.13°)
OKLaboklab(54.46% -0.1221 0.0976)
OKLCHoklch(54.46% 0.156 141.4)
XYZxyz(9.8627, 17.4998, 4.4478)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8523 #792385
analogous
#608523 #2F8523 #238548
triadic
#2F8523 #232F85 #85232F
tetradic
#2F8523 #236085 #792385 #854823
square
#2F8523 #236085 #792385 #854823
split-complementary
#2F8523 #482385 #852360
monochromatic
#0D2409 #1E5516 #2F8523 #40B530 #61D151

Accessibility & contrast

On white

4.67
#2F8523 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2F8523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8523
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8523#FFFFFF#000000##FFFFFF
##2F85231.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887813
Deuteranopia (green-blind)
#7E712D
Tritanopia (blue-blind)
#208172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8523;
/* rgb */ color: rgb(47, 133, 35);
/* oklch */ color: oklch(54.5% 0.156 141.4);
Tailwind
colors: {
  custom: {
    50: '#73a964',
    500: '#2f8523',
    950: '#000000',
  },
}
SCSS
$custom: #2f8523;
$custom-light: #73a964;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8523",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 112.653,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54457,
    "c": 0.15634,
    "h": 141.4
  },
  "luminance": 0.17501
}

Semantic roles & 50–950 ramp

primary
#2F8523
secondary
#A84FB5
accent
#46E2CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8523

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

Preview Lab → · Contrast checker → · Palette generator →

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