#2A4412#2A4412

#2A4412 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.3% C 0.082 H 132.7°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#2A4412
RGBrgb(42, 68, 18)
HSLhsl(91, 58%, 17%)
HSVhsv(91, 74%, 27%)
CMYKcmyk(38.2%, 0%, 73.5%, 73.3%)
CIE-LABlab(25.77, -19.77, 26.21)
CIE-LCHlch(25.77, 32.83, 127.03°)
OKLaboklab(35.34% -0.0554 0.0601)
OKLCHoklch(35.34% 0.082 132.7)
XYZxyz(3.1311, 4.6700, 1.3086)
Luminance0.0467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4412 #2C1244
analogous
#434412 #2A4412 #124413
triadic
#2A4412 #122A44 #44122A
tetradic
#2A4412 #124344 #2C1244 #441312
square
#2A4412 #124344 #2C1244 #441312
split-complementary
#2A4412 #131244 #441243
monochromatic
#0F1806 #0F1806 #2A4412 #48741F #66A52C

Accessibility & contrast

On white

10.86
#2A4412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2A4412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4412
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4412#FFFFFF#000000##FFFFFF
##2A44121.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E0B
Deuteranopia (green-blind)
#433C16
Tritanopia (blue-blind)
#2A413A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a4412;
/* rgb */ color: rgb(42, 68, 18);
/* oklch */ color: oklch(35.3% 0.082 132.7);
Tailwind
colors: {
  custom: {
    50: '#667853',
    500: '#2a4412',
    950: '#000000',
  },
}
SCSS
$custom: #2a4412;
$custom-light: #667853;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4412",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 18
  },
  "hsl": {
    "h": 91.2,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35342,
    "c": 0.08172,
    "h": 132.7
  },
  "luminance": 0.0467
}

Semantic roles & 50–950 ramp

primary
#2A4412
secondary
#5A357D
accent
#46E197
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A4412

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

Preview Lab → · Contrast checker → · Palette generator →

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