#2A681C#2A681C

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

Color values

HEX#2A681C
RGBrgb(42, 104, 28)
HSLhsl(109, 58%, 26%)
HSVhsv(109, 73%, 41%)
CMYKcmyk(59.6%, 0%, 73.1%, 59.2%)
CIE-LABlab(38.68, -35.36, 35.26)
CIE-LCHlch(38.68, 49.94, 135.08°)
OKLaboklab(45.97% -0.0969 0.0805)
OKLCHoklch(45.97% 0.126 140.3)
XYZxyz(6.1145, 10.4762, 2.7983)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A681C #5A1C68
analogous
#50681C #2A681C #1C6834
triadic
#2A681C #1C2A68 #681C2A
tetradic
#2A681C #1C5068 #5A1C68 #68341C
square
#2A681C #1C5068 #5A1C68 #68341C
split-complementary
#2A681C #341C68 #681C50
monochromatic
#0A1806 #17380F #2A681C #3D9829 #51C836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A681C#FFFFFF#000000##FFFFFF
##2A681C1.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)
#6B5E11
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#226459
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a681c;
/* rgb */ color: rgb(42, 104, 28);
/* oklch */ color: oklch(46.0% 0.126 140.3);
Tailwind
colors: {
  custom: {
    50: '#6b945d',
    500: '#2a681c',
    950: '#000000',
  },
}
SCSS
$custom: #2a681c;
$custom-light: #6b945d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a681c",
  "rgb": {
    "r": 42,
    "g": 104,
    "b": 28
  },
  "hsl": {
    "h": 108.947,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45966,
    "c": 0.12602,
    "h": 140.3
  },
  "luminance": 0.10477
}

Semantic roles & 50–950 ramp

primary
#2A681C
secondary
#8C439D
accent
#47E1C4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A681C

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

Preview Lab → · Contrast checker → · Palette generator →

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