#2A3111#2A3111

#2A3111 is a dark, muted yellow-green. Relative luminance 0.027; OKLCH L 29.8% C 0.052 H 119.9°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#2A3111
RGBrgb(42, 49, 17)
HSLhsl(73, 48%, 13%)
HSVhsv(73, 65%, 19%)
CMYKcmyk(14.3%, 0%, 65.3%, 80.8%)
CIE-LABlab(18.93, -9.04, 19.13)
CIE-LCHlch(18.93, 21.16, 115.28°)
OKLaboklab(29.8% -0.0258 0.0449)
OKLCHoklch(29.8% 0.052 119.9)
XYZxyz(2.1544, 2.7293, 0.9435)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3111 #181131
analogous
#312811 #2A3111 #1A3111
triadic
#2A3111 #112A31 #31112A
tetradic
#2A3111 #113128 #181131 #31111A
square
#2A3111 #113128 #181131 #31111A
split-complementary
#2A3111 #111A31 #281131
monochromatic
#131708 #131708 #2A3111 #515E21 #788C31

Accessibility & contrast

On white

13.59
#2A3111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2A3111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3111
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3111#FFFFFF#000000##FFFFFF
##2A31111.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E0E
Deuteranopia (green-blind)
#332E13
Tritanopia (blue-blind)
#2C2E2A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a3111;
/* rgb */ color: rgb(42, 49, 17);
/* oklch */ color: oklch(29.8% 0.052 119.9);
Tailwind
colors: {
  custom: {
    50: '#646950',
    500: '#2a3111',
    950: '#000000',
  },
}
SCSS
$custom: #2a3111;
$custom-light: #646950;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3111",
  "rgb": {
    "r": 42,
    "g": 49,
    "b": 17
  },
  "hsl": {
    "h": 73.125,
    "s": 48.485,
    "l": 12.941
  },
  "oklch": {
    "l": 0.29796,
    "c": 0.05177,
    "h": 119.9
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#2A3111
secondary
#40346A
accent
#50D86E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050602
muted
#7A7A78

Preview Lab

Preview with #2A3111

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

Preview Lab → · Contrast checker → · Palette generator →

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