#2A4A14#2A4A14

#2A4A14 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.1% C 0.089 H 134.9°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2A4A14
RGBrgb(42, 74, 20)
HSLhsl(96, 57%, 18%)
HSVhsv(96, 73%, 29%)
CMYKcmyk(43.2%, 0%, 73%, 71%)
CIE-LABlab(27.95, -22.64, 27.57)
CIE-LCHlch(27.95, 35.67, 129.39°)
OKLaboklab(37.13% -0.063 0.0632)
OKLCHoklch(37.13% 0.089 134.9)
XYZxyz(3.5298, 5.4401, 1.5257)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4A14 #34144A
analogous
#454A14 #2A4A14 #144A19
triadic
#2A4A14 #142A4A #4A142A
tetradic
#2A4A14 #14454A #34144A #4A1914
square
#2A4A14 #14454A #34144A #4A1914
split-complementary
#2A4A14 #19144A #4A1445
monochromatic
#0E1807 #0F1A07 #2A4A14 #457A21 #61AA2E

Accessibility & contrast

On white

10.06
#2A4A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2A4A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4A14
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4A14#FFFFFF#000000##FFFFFF
##2A4A141.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440D
Deuteranopia (green-blind)
#494119
Tritanopia (blue-blind)
#29473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a4a14;
/* rgb */ color: rgb(42, 74, 20);
/* oklch */ color: oklch(37.1% 0.089 134.9);
Tailwind
colors: {
  custom: {
    50: '#677d55',
    500: '#2a4a14',
    950: '#000000',
  },
}
SCSS
$custom: #2a4a14;
$custom-light: #677d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4a14",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 20
  },
  "hsl": {
    "h": 95.556,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37128,
    "c": 0.08928,
    "h": 134.9
  },
  "luminance": 0.0544
}

Semantic roles & 50–950 ramp

primary
#2A4A14
secondary
#643882
accent
#47E1A2
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2A4A14

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

Preview Lab → · Contrast checker → · Palette generator →

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