#2A6010#2A6010

#2A6010 is a dark, vivid green. Relative luminance 0.089; OKLCH L 43.5% C 0.123 H 137.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2A6010
RGBrgb(42, 96, 16)
HSLhsl(101, 71%, 22%)
HSVhsv(101, 83%, 38%)
CMYKcmyk(56.3%, 0%, 83.3%, 62.4%)
CIE-LABlab(35.78, -33.01, 37.12)
CIE-LCHlch(35.78, 49.67, 131.64°)
OKLaboklab(43.55% -0.0914 0.0826)
OKLCHoklch(43.55% 0.123 137.9)
XYZxyz(5.2311, 8.8950, 1.9314)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6010 #461060
analogous
#526010 #2A6010 #10601E
triadic
#2A6010 #102A60 #60102A
tetradic
#2A6010 #105260 #461060 #601E10
square
#2A6010 #105260 #461060 #601E10
split-complementary
#2A6010 #1E1060 #601052
monochromatic
#0B1A04 #132C07 #2A6010 #419419 #58C921

Accessibility & contrast

On white

7.56
#2A6010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2A6010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6010
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6010#FFFFFF#000000##FFFFFF
##2A60101.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635700
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#265C51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a6010;
/* rgb */ color: rgb(42, 96, 16);
/* oklch */ color: oklch(43.5% 0.123 137.9);
Tailwind
colors: {
  custom: {
    50: '#6a8e56',
    500: '#2a6010',
    950: '#000000',
  },
}
SCSS
$custom: #2a6010;
$custom-light: #6a8e56;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6010",
  "rgb": {
    "r": 42,
    "g": 96,
    "b": 16
  },
  "hsl": {
    "h": 100.5,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43546,
    "c": 0.12316,
    "h": 137.9
  },
  "luminance": 0.08895
}

Semantic roles & 50–950 ramp

primary
#2A6010
secondary
#783399
accent
#3AEEB3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A6010

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

Preview Lab → · Contrast checker → · Palette generator →

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