#2A4C13#2A4C13

#2A4C13 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.093 H 135.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#2A4C13
RGBrgb(42, 76, 19)
HSLhsl(96, 60%, 19%)
HSVhsv(96, 75%, 30%)
CMYKcmyk(44.7%, 0%, 75%, 70.2%)
CIE-LABlab(28.66, -23.72, 28.80)
CIE-LCHlch(28.66, 37.31, 129.48°)
OKLaboklab(37.71% -0.0661 0.0657)
OKLCHoklch(37.71% 0.093 135.2)
XYZxyz(3.6567, 5.7079, 1.5250)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4C13 #35134C
analogous
#464C13 #2A4C13 #134C18
triadic
#2A4C13 #132A4C #4C132A
tetradic
#2A4C13 #13464C #35134C #4C1813
square
#2A4C13 #13464C #35134C #4C1813
split-complementary
#2A4C13 #18134C #4C1346
monochromatic
#0E1806 #0F1B07 #2A4C13 #457D1F #60AE2B

Accessibility & contrast

On white

9.81
#2A4C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2A4C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4C13
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4C13#FFFFFF#000000##FFFFFF
##2A4C131.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450B
Deuteranopia (green-blind)
#4A4318
Tritanopia (blue-blind)
#294940
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a4c13;
/* rgb */ color: rgb(42, 76, 19);
/* oklch */ color: oklch(37.7% 0.093 135.2);
Tailwind
colors: {
  custom: {
    50: '#677e54',
    500: '#2a4c13',
    950: '#000000',
  },
}
SCSS
$custom: #2a4c13;
$custom-light: #677e54;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4c13",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 19
  },
  "hsl": {
    "h": 95.789,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37705,
    "c": 0.09315,
    "h": 135.2
  },
  "luminance": 0.05708
}

Semantic roles & 50–950 ramp

primary
#2A4C13
secondary
#653685
accent
#45E3A3
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2A4C13

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

Preview Lab → · Contrast checker → · Palette generator →

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