#2A6310#2A6310

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

Color values

HEX#2A6310
RGBrgb(42, 99, 16)
HSLhsl(101, 72%, 23%)
HSVhsv(101, 84%, 39%)
CMYKcmyk(57.6%, 0%, 83.8%, 61.2%)
CIE-LABlab(36.84, -34.26, 38.12)
CIE-LCHlch(36.84, 51.25, 131.94°)
OKLaboklab(44.42% -0.0947 0.0847)
OKLCHoklch(44.42% 0.127 138.2)
XYZxyz(5.5100, 9.4529, 2.0243)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6310 #491063
analogous
#536310 #2A6310 #106320
triadic
#2A6310 #102A63 #63102A
tetradic
#2A6310 #105363 #491063 #632010
square
#2A6310 #105363 #491063 #632010
split-complementary
#2A6310 #201063 #631053
monochromatic
#0B1A04 #142E07 #2A6310 #409819 #57CC21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A6310#FFFFFF#000000##FFFFFF
##2A63101.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)
#665A00
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#255F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a6310;
/* rgb */ color: rgb(42, 99, 16);
/* oklch */ color: oklch(44.4% 0.127 138.2);
Tailwind
colors: {
  custom: {
    50: '#6b9056',
    500: '#2a6310',
    950: '#000000',
  },
}
SCSS
$custom: #2a6310;
$custom-light: #6b9056;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6310",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 16
  },
  "hsl": {
    "h": 101.205,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4442,
    "c": 0.12707,
    "h": 138.2
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#2A6310
secondary
#7B339C
accent
#39EFB6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A6310

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

Preview Lab → · Contrast checker → · Palette generator →

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