#2A4616#2A4616

#2A4616 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.081 H 134.3°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#2A4616
RGBrgb(42, 70, 22)
HSLhsl(95, 52%, 18%)
HSVhsv(95, 69%, 27%)
CMYKcmyk(40%, 0%, 68.6%, 72.5%)
CIE-LABlab(26.54, -20.39, 25.00)
CIE-LCHlch(26.54, 32.26, 129.21°)
OKLaboklab(35.98% -0.0567 0.0581)
OKLCHoklch(35.98% 0.081 134.3)
XYZxyz(3.2898, 4.9303, 1.5372)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4616 #321646
analogous
#424616 #2A4616 #16461A
triadic
#2A4616 #162A46 #46162A
tetradic
#2A4616 #164246 #321646 #461A16
square
#2A4616 #164246 #321646 #461A16
split-complementary
#2A4616 #1A1646 #461642
monochromatic
#0E1707 #0E1707 #2A4616 #467525 #62A333

Accessibility & contrast

On white

10.57
#2A4616 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2A4616 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4616
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4616#FFFFFF#000000##FFFFFF
##2A46161.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494011
Deuteranopia (green-blind)
#453E1A
Tritanopia (blue-blind)
#2A433C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a4616;
/* rgb */ color: rgb(42, 70, 22);
/* oklch */ color: oklch(36.0% 0.081 134.3);
Tailwind
colors: {
  custom: {
    50: '#667955',
    500: '#2a4616',
    950: '#000000',
  },
}
SCSS
$custom: #2a4616;
$custom-light: #667955;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4616",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 22
  },
  "hsl": {
    "h": 95,
    "s": 52.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.35977,
    "c": 0.08118,
    "h": 134.3
  },
  "luminance": 0.0493
}

Semantic roles & 50–950 ramp

primary
#2A4616
secondary
#613A7D
accent
#4CDCA0
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2A4616

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

Preview Lab → · Contrast checker → · Palette generator →

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