#2A6315#2A6315

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

Color values

HEX#2A6315
RGBrgb(42, 99, 21)
HSLhsl(104, 65%, 24%)
HSVhsv(104, 79%, 39%)
CMYKcmyk(57.6%, 0%, 78.8%, 61.2%)
CIE-LABlab(36.87, -33.90, 36.32)
CIE-LCHlch(36.87, 49.68, 133.03°)
OKLaboklab(44.46% -0.0935 0.0817)
OKLCHoklch(44.46% 0.124 138.8)
XYZxyz(5.5518, 9.4696, 2.2446)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6315 #4E1563
analogous
#516315 #2A6315 #156327
triadic
#2A6315 #152A63 #63152A
tetradic
#2A6315 #155163 #4E1563 #632715
square
#2A6315 #155163 #4E1563 #632715
split-complementary
#2A6315 #271563 #631551
monochromatic
#0B1905 #15310A #2A6315 #3F9520 #55C82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A6315#FFFFFF#000000##FFFFFF
##2A63151.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)
#665A06
Deuteranopia (green-blind)
#5F551D
Tritanopia (blue-blind)
#255F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a6315;
/* rgb */ color: rgb(42, 99, 21);
/* oklch */ color: oklch(44.5% 0.124 138.8);
Tailwind
colors: {
  custom: {
    50: '#6b9058',
    500: '#2a6315',
    950: '#000000',
  },
}
SCSS
$custom: #2a6315;
$custom-light: #6b9058;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6315",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 103.846,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44456,
    "c": 0.12415,
    "h": 138.8
  },
  "luminance": 0.0947
}

Semantic roles & 50–950 ramp

primary
#2A6315
secondary
#803A9A
accent
#40E8BB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2A6315

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

Preview Lab → · Contrast checker → · Palette generator →

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