#2A6513#2A6513

#2A6513 is a mid, vivid green. Relative luminance 0.098; OKLCH L 45.0% C 0.128 H 138.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2A6513
RGBrgb(42, 101, 19)
HSLhsl(103, 68%, 24%)
HSVhsv(103, 81%, 40%)
CMYKcmyk(58.4%, 0%, 81.2%, 60.4%)
CIE-LABlab(37.56, -34.88, 37.76)
CIE-LCHlch(37.56, 51.40, 132.73°)
OKLaboklab(45.02% -0.0962 0.0844)
OKLCHoklch(45.02% 0.128 138.7)
XYZxyz(5.7258, 9.8461, 2.2147)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6513 #4E1365
analogous
#536513 #2A6513 #136525
triadic
#2A6513 #132A65 #65132A
tetradic
#2A6513 #135365 #4E1365 #652513
square
#2A6513 #135365 #4E1365 #652513
split-complementary
#2A6513 #251365 #651353
monochromatic
#0B1A05 #153109 #2A6513 #3F991D #55CC26

Accessibility & contrast

On white

7.07
#2A6513 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2A6513 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6513
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6513#FFFFFF#000000##FFFFFF
##2A65131.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B02
Deuteranopia (green-blind)
#61571C
Tritanopia (blue-blind)
#246156
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a6513;
/* rgb */ color: rgb(42, 101, 19);
/* oklch */ color: oklch(45.0% 0.128 138.7);
Tailwind
colors: {
  custom: {
    50: '#6b9158',
    500: '#2a6513',
    950: '#000000',
  },
}
SCSS
$custom: #2a6513;
$custom-light: #6b9158;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6513",
  "rgb": {
    "r": 42,
    "g": 101,
    "b": 19
  },
  "hsl": {
    "h": 103.171,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45022,
    "c": 0.128,
    "h": 138.7
  },
  "luminance": 0.09847
}

Semantic roles & 50–950 ramp

primary
#2A6513
secondary
#80379D
accent
#3DEBBA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2A6513

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

Preview Lab → · Contrast checker → · Palette generator →

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