#2A5E16#2A5E16

#2A5E16 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.117 H 138.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2A5E16
RGBrgb(42, 94, 22)
HSLhsl(103, 62%, 23%)
HSVhsv(103, 77%, 37%)
CMYKcmyk(55.3%, 0%, 76.6%, 63.1%)
CIE-LABlab(35.11, -31.70, 34.14)
CIE-LCHlch(35.11, 46.59, 132.88°)
OKLaboklab(43.01% -0.0874 0.0773)
OKLCHoklch(43.01% 0.117 138.5)
XYZxyz(5.1022, 8.5552, 2.1414)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E16 #4A165E
analogous
#4E5E16 #2A5E16 #165E26
triadic
#2A5E16 #162A5E #5E162A
tetradic
#2A5E16 #164E5E #4A165E #5E2616
square
#2A5E16 #164E5E #4A165E #5E2616
split-complementary
#2A5E16 #26165E #5E164E
monochromatic
#0B1906 #142C0A #2A5E16 #409022 #56C12D

Accessibility & contrast

On white

7.75
#2A5E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2A5E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5E16
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E16#FFFFFF#000000##FFFFFF
##2A5E161.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550A
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#265B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5e16;
/* rgb */ color: rgb(42, 94, 22);
/* oklch */ color: oklch(43.0% 0.117 138.5);
Tailwind
colors: {
  custom: {
    50: '#6a8c58',
    500: '#2a5e16',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e16;
$custom-light: #6a8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e16",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 22
  },
  "hsl": {
    "h": 103.333,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43008,
    "c": 0.11673,
    "h": 138.5
  },
  "luminance": 0.08556
}

Semantic roles & 50–950 ramp

primary
#2A5E16
secondary
#7C3B95
accent
#43E5B8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5E16

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

Preview Lab → · Contrast checker → · Palette generator →

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