#2A681F#2A681F

#2A681F is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.124 H 140.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2A681F
RGBrgb(42, 104, 31)
HSLhsl(111, 54%, 26%)
HSVhsv(111, 70%, 41%)
CMYKcmyk(59.6%, 0%, 70.2%, 59.2%)
CIE-LABlab(38.71, -35.06, 33.94)
CIE-LCHlch(38.71, 48.80, 135.93°)
OKLaboklab(46% -0.0959 0.0782)
OKLCHoklch(46% 0.124 140.8)
XYZxyz(6.1522, 10.4913, 2.9969)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A681F #5D1F68
analogous
#4F681F #2A681F #1F6839
triadic
#2A681F #1F2A68 #681F2A
tetradic
#2A681F #1F4F68 #5D1F68 #68391F
square
#2A681F #1F4F68 #5D1F68 #68391F
split-complementary
#2A681F #391F68 #681F4F
monochromatic
#0A1807 #173911 #2A681F #3D972D #51C53C

Accessibility & contrast

On white

6.78
#2A681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2A681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A681F
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A681F#FFFFFF#000000##FFFFFF
##2A681F1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E15
Deuteranopia (green-blind)
#635926
Tritanopia (blue-blind)
#226559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a681f;
/* rgb */ color: rgb(42, 104, 31);
/* oklch */ color: oklch(46.0% 0.124 140.8);
Tailwind
colors: {
  custom: {
    50: '#6b945f',
    500: '#2a681f',
    950: '#000000',
  },
}
SCSS
$custom: #2a681f;
$custom-light: #6b945f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a681f",
  "rgb": {
    "r": 42,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 110.959,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45996,
    "c": 0.12374,
    "h": 140.8
  },
  "luminance": 0.10492
}

Semantic roles & 50–950 ramp

primary
#2A681F
secondary
#8F469C
accent
#4ADDC7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2A681F

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

Preview Lab → · Contrast checker → · Palette generator →

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