#2A3709#2A3709

#2A3709 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.4% C 0.069 H 124.2°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#2A3709
RGBrgb(42, 55, 9)
HSLhsl(77, 72%, 13%)
HSVhsv(77, 84%, 22%)
CMYKcmyk(23.6%, 0%, 83.6%, 78.4%)
CIE-LABlab(21.00, -13.39, 25.34)
CIE-LCHlch(21.00, 28.65, 117.85°)
OKLaboklab(31.44% -0.0388 0.0572)
OKLCHoklch(31.44% 0.069 124.2)
XYZxyz(2.3704, 3.2443, 0.7597)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3709 #160937
analogous
#372D09 #2A3709 #133709
triadic
#2A3709 #092A37 #37092A
tetradic
#2A3709 #09372D #160937 #370913
square
#2A3709 #09372D #160937 #370913
split-complementary
#2A3709 #091337 #2D0937
monochromatic
#141A04 #141A04 #2A3709 #526C12 #7AA01A

Accessibility & contrast

On white

12.74
#2A3709 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2A3709 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3709
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3709#FFFFFF#000000##FFFFFF
##2A37091.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3303
Deuteranopia (green-blind)
#39320D
Tritanopia (blue-blind)
#2C342E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a3709;
/* rgb */ color: rgb(42, 55, 9);
/* oklch */ color: oklch(31.4% 0.069 124.2);
Tailwind
colors: {
  custom: {
    50: '#656d4c',
    500: '#2a3709',
    950: '#000000',
  },
}
SCSS
$custom: #2a3709;
$custom-light: #656d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3709",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 9
  },
  "hsl": {
    "h": 76.957,
    "s": 71.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.31438,
    "c": 0.06912,
    "h": 124.2
  },
  "luminance": 0.03244
}

Semantic roles & 50–950 ramp

primary
#2A3709
secondary
#3D2775
accent
#39EF6C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3709

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

Preview Lab → · Contrast checker → · Palette generator →

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