#2F681A#2F681A

#2F681A is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.2% C 0.125 H 138.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2F681A
RGBrgb(47, 104, 26)
HSLhsl(104, 60%, 25%)
HSVhsv(104, 75%, 41%)
CMYKcmyk(54.8%, 0%, 75%, 59.2%)
CIE-LABlab(38.86, -34.03, 36.37)
CIE-LCHlch(38.86, 49.80, 133.10°)
OKLaboklab(46.16% -0.0938 0.0825)
OKLCHoklch(46.16% 0.125 138.7)
XYZxyz(6.3088, 10.5791, 2.6866)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F681A #531A68
analogous
#56681A #2F681A #1A682C
triadic
#2F681A #1A2F68 #681A2F
tetradic
#2F681A #1A5668 #531A68 #682C1A
square
#2F681A #1A5668 #531A68 #682C1A
split-complementary
#2F681A #2C1A68 #681A56
monochromatic
#0B1806 #19370E #2F681A #459926 #5BCA32

Accessibility & contrast

On white

6.74
#2F681A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2F681A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F681A
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F681A#FFFFFF#000000##FFFFFF
##2F681A1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0D
Deuteranopia (green-blind)
#645A22
Tritanopia (blue-blind)
#2A6459
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f681a;
/* rgb */ color: rgb(47, 104, 26);
/* oklch */ color: oklch(46.2% 0.125 138.7);
Tailwind
colors: {
  custom: {
    50: '#6e945c',
    500: '#2f681a',
    950: '#000000',
  },
}
SCSS
$custom: #2f681a;
$custom-light: #6e945c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f681a",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 26
  },
  "hsl": {
    "h": 103.846,
    "s": 60,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46162,
    "c": 0.12493,
    "h": 138.7
  },
  "luminance": 0.1058
}

Semantic roles & 50–950 ramp

primary
#2F681A
secondary
#84409D
accent
#45E3B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F681A

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

Preview Lab → · Contrast checker → · Palette generator →

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