#2A5D14#2A5D14

#2A5D14 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.117 H 138.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#2A5D14
RGBrgb(42, 93, 20)
HSLhsl(102, 65%, 22%)
HSVhsv(102, 78%, 36%)
CMYKcmyk(54.8%, 0%, 78.5%, 63.5%)
CIE-LABlab(34.74, -31.44, 34.60)
CIE-LCHlch(34.74, 46.74, 132.26°)
OKLaboklab(42.7% -0.0869 0.078)
OKLCHoklch(42.7% 0.117 138.1)
XYZxyz(4.9953, 8.3711, 2.0142)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D14 #47145D
analogous
#4F5D14 #2A5D14 #145D23
triadic
#2A5D14 #142A5D #5D142A
tetradic
#2A5D14 #144F5D #47145D #5D2314
square
#2A5D14 #144F5D #47145D #5D2314
split-complementary
#2A5D14 #23145D #5D144F
monochromatic
#0B1905 #132B09 #2A5D14 #418F1F #57C22A

Accessibility & contrast

On white

7.85
#2A5D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2A5D14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5D14
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5D14#FFFFFF#000000##FFFFFF
##2A5D141.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605407
Deuteranopia (green-blind)
#5A501B
Tritanopia (blue-blind)
#265A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a5d14;
/* rgb */ color: rgb(42, 93, 20);
/* oklch */ color: oklch(42.7% 0.117 138.1);
Tailwind
colors: {
  custom: {
    50: '#6a8b57',
    500: '#2a5d14',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d14;
$custom-light: #6a8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d14",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 20
  },
  "hsl": {
    "h": 101.918,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.427,
    "c": 0.11673,
    "h": 138.1
  },
  "luminance": 0.08371
}

Semantic roles & 50–950 ramp

primary
#2A5D14
secondary
#793895
accent
#40E8B5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5D14

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

Preview Lab → · Contrast checker → · Palette generator →

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