#2A6E0F#2A6E0F

#2A6E0F is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.141 H 139.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2A6E0F
RGBrgb(42, 110, 15)
HSLhsl(103, 76%, 25%)
HSVhsv(103, 86%, 43%)
CMYKcmyk(61.8%, 0%, 86.4%, 56.9%)
CIE-LABlab(40.70, -38.71, 42.02)
CIE-LCHlch(40.70, 57.13, 132.65°)
OKLaboklab(47.61% -0.1067 0.0927)
OKLCHoklch(47.61% 0.141 139)
XYZxyz(6.6167, 11.6780, 2.3572)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6E0F #530F6E
analogous
#5A6E0F #2A6E0F #0F6E23
triadic
#2A6E0F #0F2A6E #6E0F2A
tetradic
#2A6E0F #0F5A6E #530F6E #6E230F
square
#2A6E0F #0F5A6E #530F6E #6E230F
split-complementary
#2A6E0F #230F6E #6E0F5A
monochromatic
#0A1B04 #153808 #2A6E0F #3FA416 #53DA1E

Accessibility & contrast

On white

6.30
#2A6E0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2A6E0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6E0F
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6E0F#FFFFFF#000000##FFFFFF
##2A6E0F1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#695E1B
Tritanopia (blue-blind)
#226A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2a6e0f;
/* rgb */ color: rgb(42, 110, 15);
/* oklch */ color: oklch(47.6% 0.141 139.0);
Tailwind
colors: {
  custom: {
    50: '#6d9857',
    500: '#2a6e0f',
    950: '#000000',
  },
}
SCSS
$custom: #2a6e0f;
$custom-light: #6d9857;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6e0f",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 15
  },
  "hsl": {
    "h": 102.947,
    "s": 76,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47605,
    "c": 0.14137,
    "h": 139
  },
  "luminance": 0.11679
}

Semantic roles & 50–950 ramp

primary
#2A6E0F
secondary
#8533A6
accent
#35F3BD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2A6E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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