#2F8318#2F8318

#2F8318 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.160 H 140.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2F8318
RGBrgb(47, 131, 24)
HSLhsl(107, 69%, 30%)
HSVhsv(107, 82%, 51%)
CMYKcmyk(64.1%, 0%, 81.7%, 48.6%)
CIE-LABlab(48.14, -44.79, 46.22)
CIE-LCHlch(48.14, 64.36, 134.10°)
OKLaboklab(53.82% -0.1229 0.1028)
OKLCHoklch(53.82% 0.16 140.1)
XYZxyz(9.4530, 16.9020, 3.6282)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8318 #6C1883
analogous
#648318 #2F8318 #188337
triadic
#2F8318 #182F83 #83182F
tetradic
#2F8318 #186483 #6C1883 #833718
square
#2F8318 #186483 #6C1883 #833718
split-complementary
#2F8318 #371883 #831864
monochromatic
#0A1C05 #1C4F0F #2F8318 #42B721 #5DDB3A

Accessibility & contrast

On white

4.79
#2F8318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2F8318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8318
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8318#FFFFFF#000000##FFFFFF
##2F83181.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#237E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8318;
/* rgb */ color: rgb(47, 131, 24);
/* oklch */ color: oklch(53.8% 0.160 140.1);
Tailwind
colors: {
  custom: {
    50: '#73a85f',
    500: '#2f8318',
    950: '#000000',
  },
}
SCSS
$custom: #2f8318;
$custom-light: #73a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8318",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 107.103,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53816,
    "c": 0.16025,
    "h": 140.1
  },
  "luminance": 0.16903
}

Semantic roles & 50–950 ramp

primary
#2F8318
secondary
#9D40B7
accent
#3CECC6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2F8318

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

Preview Lab → · Contrast checker → · Palette generator →

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