#2A6514#2A6514

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

Color values

HEX#2A6514
RGBrgb(42, 101, 20)
HSLhsl(104, 67%, 24%)
HSVhsv(104, 80%, 40%)
CMYKcmyk(58.4%, 0%, 80.2%, 60.4%)
CIE-LABlab(37.57, -34.80, 37.39)
CIE-LCHlch(37.57, 51.08, 132.95°)
OKLaboklab(45.03% -0.096 0.0838)
OKLCHoklch(45.03% 0.127 138.9)
XYZxyz(5.7346, 9.8496, 2.2607)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6514 #4F1465
analogous
#526514 #2A6514 #146526
triadic
#2A6514 #142A65 #65142A
tetradic
#2A6514 #145265 #4F1465 #652614
square
#2A6514 #145265 #4F1465 #652614
split-complementary
#2A6514 #261465 #651452
monochromatic
#0B1A05 #15320A #2A6514 #3F981E #54CB28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A6514#FFFFFF#000000##FFFFFF
##2A65141.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)
#685B03
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#246156
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a6514;
/* rgb */ color: rgb(42, 101, 20);
/* oklch */ color: oklch(45.0% 0.127 138.9);
Tailwind
colors: {
  custom: {
    50: '#6b9158',
    500: '#2a6514',
    950: '#000000',
  },
}
SCSS
$custom: #2a6514;
$custom-light: #6b9158;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6514",
  "rgb": {
    "r": 42,
    "g": 101,
    "b": 20
  },
  "hsl": {
    "h": 103.704,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45029,
    "c": 0.12741,
    "h": 138.9
  },
  "luminance": 0.0985
}

Semantic roles & 50–950 ramp

primary
#2A6514
secondary
#81399C
accent
#3EEABB
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6514

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

Preview Lab → · Contrast checker → · Palette generator →

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