#2A4A16#2A4A16

#2A4A16 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.2% C 0.088 H 135.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#2A4A16
RGBrgb(42, 74, 22)
HSLhsl(97, 54%, 19%)
HSVhsv(97, 70%, 29%)
CMYKcmyk(43.2%, 0%, 70.3%, 71%)
CIE-LABlab(27.97, -22.43, 26.59)
CIE-LCHlch(27.97, 34.79, 130.15°)
OKLaboklab(37.15% -0.0623 0.0615)
OKLCHoklch(37.15% 0.088 135.4)
XYZxyz(3.5484, 5.4475, 1.6234)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4A16 #36164A
analogous
#444A16 #2A4A16 #164A1C
triadic
#2A4A16 #162A4A #4A162A
tetradic
#2A4A16 #16444A #36164A #4A1C16
square
#2A4A16 #16444A #36164A #4A1C16
split-complementary
#2A4A16 #1C164A #4A1644
monochromatic
#0D1807 #0F1B08 #2A4A16 #457924 #60A832

Accessibility & contrast

On white

10.05
#2A4A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4A16
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4A16#FFFFFF#000000##FFFFFF
##2A4A161.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4410
Deuteranopia (green-blind)
#48411A
Tritanopia (blue-blind)
#29473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a4a16;
/* rgb */ color: rgb(42, 74, 22);
/* oklch */ color: oklch(37.2% 0.088 135.4);
Tailwind
colors: {
  custom: {
    50: '#667d56',
    500: '#2a4a16',
    950: '#000000',
  },
}
SCSS
$custom: #2a4a16;
$custom-light: #667d56;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4a16",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 22
  },
  "hsl": {
    "h": 96.923,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37151,
    "c": 0.08751,
    "h": 135.4
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#2A4A16
secondary
#663A82
accent
#4ADEA5
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2A4A16

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

Preview Lab → · Contrast checker → · Palette generator →

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