#2D681F#2D681F

#2D681F is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.122 H 140.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2D681F
RGBrgb(45, 104, 31)
HSLhsl(108, 54%, 26%)
HSVhsv(108, 70%, 41%)
CMYKcmyk(56.7%, 0%, 70.2%, 59.2%)
CIE-LABlab(38.82, -34.18, 34.10)
CIE-LCHlch(38.82, 48.28, 135.07°)
OKLaboklab(46.12% -0.0937 0.0785)
OKLCHoklch(46.12% 0.122 140.1)
XYZxyz(6.2796, 10.5569, 3.0028)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D681F #5A1F68
analogous
#52681F #2D681F #1F6836
triadic
#2D681F #1F2D68 #681F2D
tetradic
#2D681F #1F5268 #5A1F68 #68361F
square
#2D681F #1F5268 #5A1F68 #68361F
split-complementary
#2D681F #361F68 #681F52
monochromatic
#0A1807 #193911 #2D681F #41972D #57C53C

Accessibility & contrast

On white

6.75
#2D681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2D681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D681F
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D681F#FFFFFF#000000##FFFFFF
##2D681F1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F15
Deuteranopia (green-blind)
#635A25
Tritanopia (blue-blind)
#276559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d681f;
/* rgb */ color: rgb(45, 104, 31);
/* oklch */ color: oklch(46.1% 0.122 140.1);
Tailwind
colors: {
  custom: {
    50: '#6d945f',
    500: '#2d681f',
    950: '#000000',
  },
}
SCSS
$custom: #2d681f;
$custom-light: #6d945f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d681f",
  "rgb": {
    "r": 45,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 108.493,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.46122,
    "c": 0.12223,
    "h": 140.1
  },
  "luminance": 0.10557
}

Semantic roles & 50–950 ramp

primary
#2D681F
secondary
#8C469C
accent
#4ADDC1
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2D681F

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

Preview Lab → · Contrast checker → · Palette generator →

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