#2F7316#2F7316

#2F7316 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.142 H 139.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2F7316
RGBrgb(47, 115, 22)
HSLhsl(104, 68%, 27%)
HSVhsv(104, 81%, 45%)
CMYKcmyk(59.1%, 0%, 80.9%, 54.9%)
CIE-LABlab(42.65, -38.83, 41.66)
CIE-LCHlch(42.65, 56.95, 132.99°)
OKLaboklab(49.27% -0.107 0.093)
OKLCHoklch(49.27% 0.142 139)
XYZxyz(7.4475, 12.9231, 2.8608)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7316 #5A1673
analogous
#5E7316 #2F7316 #16732C
triadic
#2F7316 #162F73 #73162F
tetradic
#2F7316 #165E73 #5A1673 #732C16
square
#2F7316 #165E73 #5A1673 #732C16
split-complementary
#2F7316 #2C1673 #73165E
monochromatic
#0A1A05 #1A400C #2F7316 #44A620 #5AD72D

Accessibility & contrast

On white

5.86
#2F7316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2F7316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7316
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7316#FFFFFF#000000##FFFFFF
##2F73161.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E6320
Tritanopia (blue-blind)
#286F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f7316;
/* rgb */ color: rgb(47, 115, 22);
/* oklch */ color: oklch(49.3% 0.142 139.0);
Tailwind
colors: {
  custom: {
    50: '#709c5b',
    500: '#2f7316',
    950: '#000000',
  },
}
SCSS
$custom: #2f7316;
$custom-light: #709c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7316",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 103.871,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49274,
    "c": 0.14175,
    "h": 139
  },
  "luminance": 0.12924
}

Semantic roles & 50–950 ramp

primary
#2F7316
secondary
#8C3CA9
accent
#3DEBBC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7316

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

Preview Lab → · Contrast checker → · Palette generator →

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