#2A5B14#2A5B14

#2A5B14 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.114 H 137.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2A5B14
RGBrgb(42, 91, 20)
HSLhsl(101, 64%, 22%)
HSVhsv(101, 78%, 36%)
CMYKcmyk(53.8%, 0%, 78%, 64.3%)
CIE-LABlab(34.03, -30.57, 33.88)
CIE-LCHlch(34.03, 45.63, 132.06°)
OKLaboklab(42.12% -0.0845 0.0765)
OKLCHoklch(42.12% 0.114 137.9)
XYZxyz(4.8220, 8.0246, 1.9565)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5B14 #45145B
analogous
#4E5B14 #2A5B14 #145B21
triadic
#2A5B14 #142A5B #5B142A
tetradic
#2A5B14 #144E5B #45145B #5B2114
square
#2A5B14 #144E5B #45145B #5B2114
split-complementary
#2A5B14 #21145B #5B144E
monochromatic
#0C1906 #132909 #2A5B14 #418D1F #58BF2A

Accessibility & contrast

On white

8.06
#2A5B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2A5B14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5B14
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5B14#FFFFFF#000000##FFFFFF
##2A5B141.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5307
Deuteranopia (green-blind)
#584E1B
Tritanopia (blue-blind)
#26584D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a5b14;
/* rgb */ color: rgb(42, 91, 20);
/* oklch */ color: oklch(42.1% 0.114 137.9);
Tailwind
colors: {
  custom: {
    50: '#698a57',
    500: '#2a5b14',
    950: '#000000',
  },
}
SCSS
$custom: #2a5b14;
$custom-light: #698a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5b14",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 20
  },
  "hsl": {
    "h": 101.408,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42115,
    "c": 0.11399,
    "h": 137.9
  },
  "luminance": 0.08025
}

Semantic roles & 50–950 ramp

primary
#2A5B14
secondary
#773893
accent
#41E7B3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5B14

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

Preview Lab → · Contrast checker → · Palette generator →

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