#2A681B#2A681B

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

Color values

HEX#2A681B
RGBrgb(42, 104, 27)
HSLhsl(108, 59%, 26%)
HSVhsv(108, 74%, 41%)
CMYKcmyk(59.6%, 0%, 74%, 59.2%)
CIE-LABlab(38.68, -35.46, 35.69)
CIE-LCHlch(38.68, 50.31, 134.81°)
OKLaboklab(45.96% -0.0972 0.0813)
OKLCHoklch(45.96% 0.127 140.1)
XYZxyz(6.1027, 10.4715, 2.7363)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A681B #591B68
analogous
#50681B #2A681B #1B6832
triadic
#2A681B #1B2A68 #681B2A
tetradic
#2A681B #1B5068 #591B68 #68321B
square
#2A681B #1B5068 #591B68 #68321B
split-complementary
#2A681B #321B68 #681B50
monochromatic
#0A1806 #16370E #2A681B #3E9928 #51C934

Accessibility & contrast

On white

6.79
#2A681B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2A681B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A681B
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A681B#FFFFFF#000000##FFFFFF
##2A681B1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a681b;
/* rgb */ color: rgb(42, 104, 27);
/* oklch */ color: oklch(46.0% 0.127 140.1);
Tailwind
colors: {
  custom: {
    50: '#6b945c',
    500: '#2a681b',
    950: '#000000',
  },
}
SCSS
$custom: #2a681b;
$custom-light: #6b945c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a681b",
  "rgb": {
    "r": 42,
    "g": 104,
    "b": 27
  },
  "hsl": {
    "h": 108.312,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45957,
    "c": 0.12674,
    "h": 140.1
  },
  "luminance": 0.10472
}

Semantic roles & 50–950 ramp

primary
#2A681B
secondary
#8B429D
accent
#46E2C4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A681B

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

Preview Lab → · Contrast checker → · Palette generator →

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