#2A3604#2A3604

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

Color values

HEX#2A3604
RGBrgb(42, 54, 4)
HSLhsl(74, 86%, 11%)
HSVhsv(74, 93%, 21%)
CMYKcmyk(22.2%, 0%, 92.6%, 78.8%)
CIE-LABlab(20.59, -13.19, 26.93)
CIE-LCHlch(20.59, 29.98, 116.10°)
OKLaboklab(31.1% -0.0389 0.0605)
OKLCHoklch(31.1% 0.072 122.8)
XYZxyz(2.2960, 3.1393, 0.5998)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3604 #100436
analogous
#362904 #2A3604 #113604
triadic
#2A3604 #042A36 #36042A
tetradic
#2A3604 #043629 #100436 #360411
square
#2A3604 #043629 #100436 #360411
split-complementary
#2A3604 #041136 #290436
monochromatic
#161C02 #161C02 #2A3604 #566F08 #83A80C

Accessibility & contrast

On white

12.90
#2A3604 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3604
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3604#FFFFFF#000000##FFFFFF
##2A36041.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3604;
/* rgb */ color: rgb(42, 54, 4);
/* oklch */ color: oklch(31.1% 0.072 122.8);
Tailwind
colors: {
  custom: {
    50: '#656d49',
    500: '#2a3604',
    950: '#000000',
  },
}
SCSS
$custom: #2a3604;
$custom-light: #656d49;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3604",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 4
  },
  "hsl": {
    "h": 74.4,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.31098,
    "c": 0.07193,
    "h": 122.8
  },
  "luminance": 0.03139
}

Semantic roles & 50–950 ramp

primary
#2A3604
secondary
#331E78
accent
#2BFC5E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3604

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

Preview Lab → · Contrast checker → · Palette generator →

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