#2F9823#2F9823

#2F9823 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.7% C 0.179 H 141.7°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2F9823
RGBrgb(47, 152, 35)
HSLhsl(114, 63%, 37%)
HSVhsv(114, 77%, 60%)
CMYKcmyk(69.1%, 0%, 77%, 40.4%)
CIE-LABlab(55.26, -51.51, 49.40)
CIE-LCHlch(55.26, 71.37, 136.20°)
OKLaboklab(59.74% -0.1405 0.111)
OKLCHoklch(59.74% 0.179 141.7)
XYZxyz(12.7032, 23.1808, 5.3947)
Luminance0.2318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9823 #8C2398
analogous
#6A9823 #2F9823 #239852
triadic
#2F9823 #232F98 #98232F
tetradic
#2F9823 #236A98 #8C2398 #985223
square
#2F9823 #236A98 #8C2398 #985223
split-complementary
#2F9823 #522398 #98236A
monochromatic
#10350C #206618 #2F9823 #3ECA2E #69D95C

Accessibility & contrast

On white

3.73
#2F9823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#2F9823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9823
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9823#FFFFFF#000000##000000
##2F98231.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8908
Deuteranopia (green-blind)
#908130
Tritanopia (blue-blind)
#179382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f9823;
/* rgb */ color: rgb(47, 152, 35);
/* oklch */ color: oklch(59.7% 0.179 141.7);
Tailwind
colors: {
  custom: {
    50: '#77b767',
    500: '#2f9823',
    950: '#000000',
  },
}
SCSS
$custom: #2f9823;
$custom-light: #77b767;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9823",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 35
  },
  "hsl": {
    "h": 113.846,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59737,
    "c": 0.17905,
    "h": 141.7
  },
  "luminance": 0.23182
}

Semantic roles & 50–950 ramp

primary
#2F9823
secondary
#B459BE
accent
#42E6D5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F9823

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

Preview Lab → · Contrast checker → · Palette generator →

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