#2D3A11#2D3A11

#2D3A11 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.065 H 124.8°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#2D3A11
RGBrgb(45, 58, 17)
HSLhsl(79, 55%, 15%)
HSVhsv(79, 71%, 23%)
CMYKcmyk(22.4%, 0%, 70.7%, 77.3%)
CIE-LABlab(22.39, -12.97, 23.11)
CIE-LCHlch(22.39, 26.51, 119.31°)
OKLaboklab(32.65% -0.037 0.0533)
OKLCHoklch(32.65% 0.065 124.8)
XYZxyz(2.6964, 3.6244, 1.0877)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A11 #1E113A
analogous
#3A3311 #2D3A11 #193A11
triadic
#2D3A11 #112D3A #3A112D
tetradic
#2D3A11 #113A33 #1E113A #3A1119
square
#2D3A11 #113A33 #1E113A #3A1119
split-complementary
#2D3A11 #11193A #33113A
monochromatic
#121807 #121807 #2D3A11 #52691F #76992D

Accessibility & contrast

On white

12.18
#2D3A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2D3A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3A11
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A11#FFFFFF#000000##FFFFFF
##2D3A111.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D360C
Deuteranopia (green-blind)
#3C3514
Tritanopia (blue-blind)
#2F3731
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d3a11;
/* rgb */ color: rgb(45, 58, 17);
/* oklch */ color: oklch(32.6% 0.065 124.8);
Tailwind
colors: {
  custom: {
    50: '#677051',
    500: '#2d3a11',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a11;
$custom-light: #677051;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a11",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 17
  },
  "hsl": {
    "h": 79.024,
    "s": 54.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32649,
    "c": 0.06492,
    "h": 124.8
  },
  "luminance": 0.03624
}

Semantic roles & 50–950 ramp

primary
#2D3A11
secondary
#483373
accent
#4ADE79
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D3A11

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

Preview Lab → · Contrast checker → · Palette generator →

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