#2A4516#2A4516

#2A4516 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.7% C 0.080 H 134.0°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#2A4516
RGBrgb(42, 69, 22)
HSLhsl(94, 52%, 18%)
HSVhsv(94, 68%, 27%)
CMYKcmyk(39.1%, 0%, 68.1%, 72.9%)
CIE-LABlab(26.18, -19.88, 24.60)
CIE-LCHlch(26.18, 31.62, 128.94°)
OKLaboklab(35.68% -0.0553 0.0572)
OKLCHoklch(35.68% 0.08 134)
XYZxyz(3.2277, 4.8063, 1.5165)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4516 #311645
analogous
#414516 #2A4516 #164519
triadic
#2A4516 #162A45 #45162A
tetradic
#2A4516 #164145 #311645 #451916
square
#2A4516 #164145 #311645 #451916
split-complementary
#2A4516 #191645 #451641
monochromatic
#0E1707 #0E1707 #2A4516 #467325 #62A234

Accessibility & contrast

On white

10.71
#2A4516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2A4516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4516
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4516#FFFFFF#000000##FFFFFF
##2A45161.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F11
Deuteranopia (green-blind)
#443D1A
Tritanopia (blue-blind)
#2A423B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a4516;
/* rgb */ color: rgb(42, 69, 22);
/* oklch */ color: oklch(35.7% 0.080 134.0);
Tailwind
colors: {
  custom: {
    50: '#667955',
    500: '#2a4516',
    950: '#000000',
  },
}
SCSS
$custom: #2a4516;
$custom-light: #667955;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4516",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 22
  },
  "hsl": {
    "h": 94.468,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.35684,
    "c": 0.07958,
    "h": 134
  },
  "luminance": 0.04806
}

Semantic roles & 50–950 ramp

primary
#2A4516
secondary
#603A7C
accent
#4DDB9F
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2A4516

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

Preview Lab → · Contrast checker → · Palette generator →

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