#2A6510#2A6510

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

Color values

HEX#2A6510
RGBrgb(42, 101, 16)
HSLhsl(102, 73%, 23%)
HSVhsv(102, 84%, 40%)
CMYKcmyk(58.4%, 0%, 84.2%, 60.4%)
CIE-LABlab(37.55, -35.08, 38.79)
CIE-LCHlch(37.55, 52.30, 132.12°)
OKLaboklab(45% -0.0969 0.0861)
OKLCHoklch(45% 0.13 138.4)
XYZxyz(5.7018, 9.8365, 2.0883)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6510 #4B1065
analogous
#546510 #2A6510 #106520
triadic
#2A6510 #102A65 #65102A
tetradic
#2A6510 #105465 #4B1065 #652010
square
#2A6510 #105465 #4B1065 #652010
split-complementary
#2A6510 #201065 #651054
monochromatic
#0B1A04 #143008 #2A6510 #409A18 #56CF21

Accessibility & contrast

On white

7.08
#2A6510 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A6510
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6510#FFFFFF#000000##FFFFFF
##2A65101.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#61571A
Tritanopia (blue-blind)
#256155
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a6510;
/* rgb */ color: rgb(42, 101, 16);
/* oklch */ color: oklch(45.0% 0.130 138.4);
Tailwind
colors: {
  custom: {
    50: '#6b9156',
    500: '#2a6510',
    950: '#000000',
  },
}
SCSS
$custom: #2a6510;
$custom-light: #6b9156;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6510",
  "rgb": {
    "r": 42,
    "g": 101,
    "b": 16
  },
  "hsl": {
    "h": 101.647,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45002,
    "c": 0.12964,
    "h": 138.4
  },
  "luminance": 0.09837
}

Semantic roles & 50–950 ramp

primary
#2A6510
secondary
#7D339D
accent
#38EFB7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2A6510

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

Preview Lab → · Contrast checker → · Palette generator →

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