#2A4D15#2A4D15

#2A4D15 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.0% C 0.093 H 135.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2A4D15
RGBrgb(42, 77, 21)
HSLhsl(98, 57%, 19%)
HSVhsv(98, 73%, 30%)
CMYKcmyk(45.5%, 0%, 72.7%, 69.8%)
CIE-LABlab(29.04, -24.02, 28.24)
CIE-LCHlch(29.04, 37.07, 130.37°)
OKLaboklab(38.02% -0.0667 0.0648)
OKLCHoklch(38.02% 0.093 135.8)
XYZxyz(3.7440, 5.8539, 1.6420)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4D15 #38154D
analogous
#464D15 #2A4D15 #154D1C
triadic
#2A4D15 #152A4D #4D152A
tetradic
#2A4D15 #15464D #38154D #4D1C15
square
#2A4D15 #15464D #38154D #4D1C15
split-complementary
#2A4D15 #1C154D #4D1546
monochromatic
#0D1807 #101D08 #2A4D15 #447D22 #5EAD2F

Accessibility & contrast

On white

9.67
#2A4D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2A4D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4D15
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4D15#FFFFFF#000000##FFFFFF
##2A4D151.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460E
Deuteranopia (green-blind)
#4B431A
Tritanopia (blue-blind)
#294A42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a4d15;
/* rgb */ color: rgb(42, 77, 21);
/* oklch */ color: oklch(38.0% 0.093 135.8);
Tailwind
colors: {
  custom: {
    50: '#677f55',
    500: '#2a4d15',
    950: '#000000',
  },
}
SCSS
$custom: #2a4d15;
$custom-light: #677f55;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4d15",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 21
  },
  "hsl": {
    "h": 97.5,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3802,
    "c": 0.093,
    "h": 135.8
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#2A4D15
secondary
#683985
accent
#47E0A7
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2A4D15

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

Preview Lab → · Contrast checker → · Palette generator →

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