#2F8319#2F8319

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

Color values

HEX#2F8319
RGBrgb(47, 131, 25)
HSLhsl(108, 68%, 31%)
HSVhsv(108, 81%, 51%)
CMYKcmyk(64.1%, 0%, 80.9%, 48.6%)
CIE-LABlab(48.14, -44.73, 45.90)
CIE-LCHlch(48.14, 64.09, 134.26°)
OKLaboklab(53.82% -0.1227 0.1023)
OKLCHoklch(53.82% 0.16 140.2)
XYZxyz(9.4636, 16.9062, 3.6840)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8319 #6D1983
analogous
#648319 #2F8319 #198338
triadic
#2F8319 #192F83 #83192F
tetradic
#2F8319 #196483 #6D1983 #833819
square
#2F8319 #196483 #6D1983 #833819
split-complementary
#2F8319 #381983 #831964
monochromatic
#0A1C05 #1D500F #2F8319 #41B623 #5DDA3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8319#FFFFFF#000000##FFFFFF
##2F83191.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)
#237F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8319;
/* rgb */ color: rgb(47, 131, 25);
/* oklch */ color: oklch(53.8% 0.160 140.2);
Tailwind
colors: {
  custom: {
    50: '#73a85f',
    500: '#2f8319',
    950: '#000000',
  },
}
SCSS
$custom: #2f8319;
$custom-light: #73a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8319",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 107.547,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53822,
    "c": 0.15975,
    "h": 140.2
  },
  "luminance": 0.16907
}

Semantic roles & 50–950 ramp

primary
#2F8319
secondary
#9E41B7
accent
#3DEBC7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2F8319

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

Preview Lab → · Contrast checker → · Palette generator →

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