#2A6610#2A6610

#2A6610 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.3% C 0.131 H 138.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2A6610
RGBrgb(42, 102, 16)
HSLhsl(102, 73%, 23%)
HSVhsv(102, 84%, 40%)
CMYKcmyk(58.8%, 0%, 84.3%, 60%)
CIE-LABlab(37.90, -35.48, 39.12)
CIE-LCHlch(37.90, 52.81, 132.21°)
OKLaboklab(45.29% -0.098 0.0868)
OKLCHoklch(45.29% 0.131 138.5)
XYZxyz(5.7995, 10.0319, 2.1209)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6610 #4C1066
analogous
#556610 #2A6610 #106621
triadic
#2A6610 #102A66 #66102A
tetradic
#2A6610 #105566 #4C1066 #662110
square
#2A6610 #105566 #4C1066 #662110
split-complementary
#2A6610 #211066 #661055
monochromatic
#0B1A04 #143108 #2A6610 #409B18 #56D021

Accessibility & contrast

On white

6.99
#2A6610 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2A6610 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6610
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6610#FFFFFF#000000##FFFFFF
##2A66101.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#62571A
Tritanopia (blue-blind)
#246256
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a6610;
/* rgb */ color: rgb(42, 102, 16);
/* oklch */ color: oklch(45.3% 0.131 138.5);
Tailwind
colors: {
  custom: {
    50: '#6b9257',
    500: '#2a6610',
    950: '#000000',
  },
}
SCSS
$custom: #2a6610;
$custom-light: #6b9257;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6610",
  "rgb": {
    "r": 42,
    "g": 102,
    "b": 16
  },
  "hsl": {
    "h": 101.86,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45293,
    "c": 0.13092,
    "h": 138.5
  },
  "luminance": 0.10032
}

Semantic roles & 50–950 ramp

primary
#2A6610
secondary
#7E339E
accent
#38F0B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2A6610

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

Preview Lab → · Contrast checker → · Palette generator →

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