#2A6210#2A6210

#2A6210 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.1% C 0.126 H 138.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2A6210
RGBrgb(42, 98, 16)
HSLhsl(101, 72%, 22%)
HSVhsv(101, 84%, 38%)
CMYKcmyk(57.1%, 0%, 83.7%, 61.6%)
CIE-LABlab(36.49, -33.84, 37.79)
CIE-LCHlch(36.49, 50.73, 131.84°)
OKLaboklab(44.13% -0.0936 0.084)
OKLCHoklch(44.13% 0.126 138.1)
XYZxyz(5.4159, 9.2646, 1.9930)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6210 #481062
analogous
#536210 #2A6210 #10621F
triadic
#2A6210 #102A62 #62102A
tetradic
#2A6210 #105362 #481062 #621F10
square
#2A6210 #105362 #481062 #621F10
split-complementary
#2A6210 #1F1062 #621053
monochromatic
#0B1A04 #132D07 #2A6210 #419719 #57CB21

Accessibility & contrast

On white

7.36
#2A6210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2A6210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6210
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6210#FFFFFF#000000##FFFFFF
##2A62101.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655900
Deuteranopia (green-blind)
#5E5419
Tritanopia (blue-blind)
#255E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2a6210;
/* rgb */ color: rgb(42, 98, 16);
/* oklch */ color: oklch(44.1% 0.126 138.1);
Tailwind
colors: {
  custom: {
    50: '#6b8f56',
    500: '#2a6210',
    950: '#000000',
  },
}
SCSS
$custom: #2a6210;
$custom-light: #6b8f56;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6210",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 16
  },
  "hsl": {
    "h": 100.976,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44129,
    "c": 0.12578,
    "h": 138.1
  },
  "luminance": 0.09265
}

Semantic roles & 50–950 ramp

primary
#2A6210
secondary
#7A339B
accent
#39EFB5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A6210

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

Preview Lab → · Contrast checker → · Palette generator →

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