#2A3711#2A3711

#2A3711 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.5% C 0.062 H 125.7°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#2A3711
RGBrgb(42, 55, 17)
HSLhsl(81, 53%, 14%)
HSVhsv(81, 69%, 22%)
CMYKcmyk(23.6%, 0%, 69.1%, 78.4%)
CIE-LABlab(21.08, -12.67, 21.59)
CIE-LCHlch(21.08, 25.03, 120.41°)
OKLaboklab(31.53% -0.036 0.0501)
OKLCHoklch(31.53% 0.062 125.7)
XYZxyz(2.4222, 3.2651, 1.0328)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3711 #1E1137
analogous
#373111 #2A3711 #173711
triadic
#2A3711 #112A37 #37112A
tetradic
#2A3711 #113731 #1E1137 #371117
square
#2A3711 #113731 #1E1137 #371117
split-complementary
#2A3711 #111737 #311137
monochromatic
#121707 #121707 #2A3711 #4E661F #71952E

Accessibility & contrast

On white

12.70
#2A3711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3711
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3711#FFFFFF#000000##FFFFFF
##2A37111.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A330D
Deuteranopia (green-blind)
#383214
Tritanopia (blue-blind)
#2C342F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a3711;
/* rgb */ color: rgb(42, 55, 17);
/* oklch */ color: oklch(31.5% 0.062 125.7);
Tailwind
colors: {
  custom: {
    50: '#656d50',
    500: '#2a3711',
    950: '#000000',
  },
}
SCSS
$custom: #2a3711;
$custom-light: #656d50;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3711",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 17
  },
  "hsl": {
    "h": 80.526,
    "s": 52.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31527,
    "c": 0.06169,
    "h": 125.7
  },
  "luminance": 0.03265
}

Semantic roles & 50–950 ramp

primary
#2A3711
secondary
#483470
accent
#4CDC7D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #2A3711

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

Preview Lab → · Contrast checker → · Palette generator →

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