#2D681B#2D681B

#2D681B is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.1% C 0.125 H 139.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2D681B
RGBrgb(45, 104, 27)
HSLhsl(106, 59%, 26%)
HSVhsv(106, 74%, 41%)
CMYKcmyk(56.7%, 0%, 74%, 59.2%)
CIE-LABlab(38.79, -34.56, 35.84)
CIE-LCHlch(38.79, 49.79, 133.96°)
OKLaboklab(46.08% -0.095 0.0816)
OKLCHoklch(46.08% 0.125 139.4)
XYZxyz(6.2301, 10.5372, 2.7423)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D681B #561B68
analogous
#53681B #2D681B #1B682F
triadic
#2D681B #1B2D68 #681B2D
tetradic
#2D681B #1B5368 #561B68 #682F1B
square
#2D681B #1B5368 #561B68 #682F1B
split-complementary
#2D681B #2F1B68 #681B53
monochromatic
#0B1806 #18370E #2D681B #429928 #57C934

Accessibility & contrast

On white

6.76
#2D681B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D681B
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D681B#FFFFFF#000000##FFFFFF
##2D681B1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0F
Deuteranopia (green-blind)
#645922
Tritanopia (blue-blind)
#276459
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d681b;
/* rgb */ color: rgb(45, 104, 27);
/* oklch */ color: oklch(46.1% 0.125 139.4);
Tailwind
colors: {
  custom: {
    50: '#6d945c',
    500: '#2d681b',
    950: '#000000',
  },
}
SCSS
$custom: #2d681b;
$custom-light: #6d945c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d681b",
  "rgb": {
    "r": 45,
    "g": 104,
    "b": 27
  },
  "hsl": {
    "h": 105.974,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46083,
    "c": 0.12525,
    "h": 139.4
  },
  "luminance": 0.10538
}

Semantic roles & 50–950 ramp

primary
#2D681B
secondary
#88429D
accent
#46E2BD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2D681B

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

Preview Lab → · Contrast checker → · Palette generator →

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