#2A6313#2A6313

#2A6313 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.4% C 0.125 H 138.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2A6313
RGBrgb(42, 99, 19)
HSLhsl(103, 68%, 23%)
HSVhsv(103, 81%, 39%)
CMYKcmyk(57.6%, 0%, 80.8%, 61.2%)
CIE-LABlab(36.86, -34.05, 37.07)
CIE-LCHlch(36.86, 50.34, 132.57°)
OKLaboklab(44.44% -0.094 0.083)
OKLCHoklch(44.44% 0.125 138.6)
XYZxyz(5.5340, 9.4625, 2.1508)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6313 #4C1363
analogous
#526313 #2A6313 #136324
triadic
#2A6313 #132A63 #63132A
tetradic
#2A6313 #135263 #4C1363 #632413
square
#2A6313 #135263 #4C1363 #632413
split-complementary
#2A6313 #241363 #631352
monochromatic
#0B1A05 #143009 #2A6313 #40961D #56CA27

Accessibility & contrast

On white

7.26
#2A6313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2A6313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6313
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6313#FFFFFF#000000##FFFFFF
##2A63131.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A02
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#255F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a6313;
/* rgb */ color: rgb(42, 99, 19);
/* oklch */ color: oklch(44.4% 0.125 138.6);
Tailwind
colors: {
  custom: {
    50: '#6b9057',
    500: '#2a6313',
    950: '#000000',
  },
}
SCSS
$custom: #2a6313;
$custom-light: #6b9057;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6313",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 19
  },
  "hsl": {
    "h": 102.75,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44441,
    "c": 0.12539,
    "h": 138.6
  },
  "luminance": 0.09463
}

Semantic roles & 50–950 ramp

primary
#2A6313
secondary
#7E379B
accent
#3DEBB9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A6313

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

Preview Lab → · Contrast checker → · Palette generator →

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