#2A5A14#2A5A14

#2A5A14 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.113 H 137.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2A5A14
RGBrgb(42, 90, 20)
HSLhsl(101, 64%, 22%)
HSVhsv(101, 78%, 35%)
CMYKcmyk(53.3%, 0%, 77.8%, 64.7%)
CIE-LABlab(33.68, -30.13, 33.52)
CIE-LCHlch(33.68, 45.07, 131.95°)
OKLaboklab(41.82% -0.0833 0.0757)
OKLCHoklch(41.82% 0.113 137.7)
XYZxyz(4.7371, 7.8547, 1.9282)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5A14 #44145A
analogous
#4D5A14 #2A5A14 #145A21
triadic
#2A5A14 #142A5A #5A142A
tetradic
#2A5A14 #144D5A #44145A #5A2114
square
#2A5A14 #144D5A #44145A #5A2114
split-complementary
#2A5A14 #21145A #5A144D
monochromatic
#0C1906 #132809 #2A5A14 #418C1F #59BE2A

Accessibility & contrast

On white

8.17
#2A5A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2A5A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5A14
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5A14#FFFFFF#000000##FFFFFF
##2A5A141.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5208
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#27574C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a5a14;
/* rgb */ color: rgb(42, 90, 20);
/* oklch */ color: oklch(41.8% 0.113 137.7);
Tailwind
colors: {
  custom: {
    50: '#698957',
    500: '#2a5a14',
    950: '#000000',
  },
}
SCSS
$custom: #2a5a14;
$custom-light: #698957;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5a14",
  "rgb": {
    "r": 42,
    "g": 90,
    "b": 20
  },
  "hsl": {
    "h": 101.143,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41823,
    "c": 0.1126,
    "h": 137.7
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#2A5A14
secondary
#763892
accent
#41E7B3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2A5A14

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

Preview Lab → · Contrast checker → · Palette generator →

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