#2A3606#2A3606

#2A3606 is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 31.1% C 0.070 H 123.0°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#2A3606
RGBrgb(42, 54, 6)
HSLhsl(75, 80%, 12%)
HSVhsv(75, 89%, 21%)
CMYKcmyk(22.2%, 0%, 88.9%, 78.8%)
CIE-LABlab(20.61, -13.04, 26.13)
CIE-LCHlch(20.61, 29.20, 116.52°)
OKLaboklab(31.12% -0.0382 0.0588)
OKLCHoklch(31.12% 0.07 123)
XYZxyz(2.3069, 3.1437, 0.6575)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3606 #120636
analogous
#362A06 #2A3606 #123606
triadic
#2A3606 #062A36 #36062A
tetradic
#2A3606 #06362A #120636 #360612
square
#2A3606 #06362A #120636 #360612
split-complementary
#2A3606 #061236 #2A0636
monochromatic
#151C03 #151C03 #2A3606 #556D0C #80A412

Accessibility & contrast

On white

12.89
#2A3606 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2A3606 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3606
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3606#FFFFFF#000000##FFFFFF
##2A36061.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#38320A
Tritanopia (blue-blind)
#2D332D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a3606;
/* rgb */ color: rgb(42, 54, 6);
/* oklch */ color: oklch(31.1% 0.070 123.0);
Tailwind
colors: {
  custom: {
    50: '#656d4a',
    500: '#2a3606',
    950: '#000000',
  },
}
SCSS
$custom: #2a3606;
$custom-light: #656d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3606",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 6
  },
  "hsl": {
    "h": 75,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.31118,
    "c": 0.07017,
    "h": 123
  },
  "luminance": 0.03144
}

Semantic roles & 50–950 ramp

primary
#2A3606
secondary
#372176
accent
#31F663
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3606

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

Preview Lab → · Contrast checker → · Palette generator →

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