#2F8018#2F8018

#2F8018 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.157 H 140.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2F8018
RGBrgb(47, 128, 24)
HSLhsl(107, 68%, 30%)
HSVhsv(107, 81%, 50%)
CMYKcmyk(63.3%, 0%, 81.3%, 49.8%)
CIE-LABlab(47.12, -43.68, 45.25)
CIE-LCHlch(47.12, 62.90, 133.99°)
OKLaboklab(52.97% -0.12 0.1008)
OKLCHoklch(52.97% 0.157 140)
XYZxyz(9.0559, 16.1078, 3.4959)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8018 #691880
analogous
#638018 #2F8018 #188035
triadic
#2F8018 #182F80 #80182F
tetradic
#2F8018 #186380 #691880 #803518
square
#2F8018 #186380 #691880 #803518
split-complementary
#2F8018 #351880 #801863
monochromatic
#091A05 #1C4C0E #2F8018 #42B422 #5CDA39

Accessibility & contrast

On white

4.97
#2F8018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2F8018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8018
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8018#FFFFFF#000000##FFFFFF
##2F80181.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#247C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f8018;
/* rgb */ color: rgb(47, 128, 24);
/* oklch */ color: oklch(53.0% 0.157 140.0);
Tailwind
colors: {
  custom: {
    50: '#73a65e',
    500: '#2f8018',
    950: '#000000',
  },
}
SCSS
$custom: #2f8018;
$custom-light: #73a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8018",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 106.731,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52971,
    "c": 0.15667,
    "h": 140
  },
  "luminance": 0.16109
}

Semantic roles & 50–950 ramp

primary
#2F8018
secondary
#9A40B4
accent
#3DEBC5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F8018

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

Preview Lab → · Contrast checker → · Palette generator →

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