#2A3705#2A3705

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

Color values

HEX#2A3705
RGBrgb(42, 55, 5)
HSLhsl(76, 83%, 12%)
HSVhsv(76, 91%, 22%)
CMYKcmyk(23.6%, 0%, 90.9%, 78.4%)
CIE-LABlab(20.96, -13.70, 26.93)
CIE-LCHlch(20.96, 30.21, 116.96°)
OKLaboklab(31.4% -0.0402 0.0604)
OKLCHoklch(31.4% 0.073 123.6)
XYZxyz(2.3485, 3.2356, 0.6444)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3705 #120537
analogous
#372B05 #2A3705 #113705
triadic
#2A3705 #052A37 #37052A
tetradic
#2A3705 #05372B #120537 #370511
square
#2A3705 #05372B #120537 #370511
split-complementary
#2A3705 #051137 #2B0537
monochromatic
#151C03 #151C03 #2A3705 #556F0A #80A70F

Accessibility & contrast

On white

12.75
#2A3705 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3705
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3705#FFFFFF#000000##FFFFFF
##2A37051.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#393209
Tritanopia (blue-blind)
#2D342E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a3705;
/* rgb */ color: rgb(42, 55, 5);
/* oklch */ color: oklch(31.4% 0.072 123.6);
Tailwind
colors: {
  custom: {
    50: '#656d4a',
    500: '#2a3705',
    950: '#000000',
  },
}
SCSS
$custom: #2a3705;
$custom-light: #656d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3705",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 5
  },
  "hsl": {
    "h": 75.6,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.31401,
    "c": 0.0725,
    "h": 123.6
  },
  "luminance": 0.03236
}

Semantic roles & 50–950 ramp

primary
#2A3705
secondary
#372078
accent
#2EFA63
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3705

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

Preview Lab → · Contrast checker → · Palette generator →

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