#2A5E14#2A5E14

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

Color values

HEX#2A5E14
RGBrgb(42, 94, 20)
HSLhsl(102, 65%, 22%)
HSVhsv(102, 79%, 37%)
CMYKcmyk(55.3%, 0%, 78.7%, 63.1%)
CIE-LABlab(35.10, -31.87, 34.95)
CIE-LCHlch(35.10, 47.30, 132.36°)
OKLaboklab(42.99% -0.088 0.0787)
OKLCHoklch(42.99% 0.118 138.2)
XYZxyz(5.0836, 8.5478, 2.0437)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E14 #48145E
analogous
#4F5E14 #2A5E14 #145E23
triadic
#2A5E14 #142A5E #5E142A
tetradic
#2A5E14 #144F5E #48145E #5E2314
square
#2A5E14 #144F5E #48145E #5E2314
split-complementary
#2A5E14 #23145E #5E144F
monochromatic
#0B1905 #132C09 #2A5E14 #41901F #57C329

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A5E14#FFFFFF#000000##FFFFFF
##2A5E141.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)
#615506
Deuteranopia (green-blind)
#5A511C
Tritanopia (blue-blind)
#265A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5e14;
/* rgb */ color: rgb(42, 94, 20);
/* oklch */ color: oklch(43.0% 0.118 138.2);
Tailwind
colors: {
  custom: {
    50: '#6a8c57',
    500: '#2a5e14',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e14;
$custom-light: #6a8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e14",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 20
  },
  "hsl": {
    "h": 102.162,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42991,
    "c": 0.11809,
    "h": 138.2
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#2A5E14
secondary
#7A3896
accent
#40E8B6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5E14

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

Preview Lab → · Contrast checker → · Palette generator →

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