#2D4311#2D4311

#2D4311 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.3% C 0.079 H 130.0°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2D4311
RGBrgb(45, 67, 17)
HSLhsl(86, 60%, 16%)
HSVhsv(86, 75%, 26%)
CMYKcmyk(32.8%, 0%, 74.6%, 73.7%)
CIE-LABlab(25.60, -18.02, 26.58)
CIE-LCHlch(25.60, 32.12, 124.14°)
OKLaboklab(35.25% -0.0509 0.0606)
OKLCHoklch(35.25% 0.079 130)
XYZxyz(3.1905, 4.6126, 1.2524)
Luminance0.0461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4311 #271143
analogous
#434011 #2D4311 #144311
triadic
#2D4311 #112D43 #43112D
tetradic
#2D4311 #114340 #271143 #431114
square
#2D4311 #114340 #271143 #431114
split-complementary
#2D4311 #111443 #401143
monochromatic
#101806 #101806 #2D4311 #4E741D #6FA52A

Accessibility & contrast

On white

10.92
#2D4311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2D4311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4311
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4311#FFFFFF#000000##FFFFFF
##2D43111.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E0A
Deuteranopia (green-blind)
#433C15
Tritanopia (blue-blind)
#2E4039
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d4311;
/* rgb */ color: rgb(45, 67, 17);
/* oklch */ color: oklch(35.3% 0.079 130.0);
Tailwind
colors: {
  custom: {
    50: '#687752',
    500: '#2d4311',
    950: '#000000',
  },
}
SCSS
$custom: #2d4311;
$custom-light: #687752;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4311",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 17
  },
  "hsl": {
    "h": 86.4,
    "s": 59.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35251,
    "c": 0.0792,
    "h": 130
  },
  "luminance": 0.04613
}

Semantic roles & 50–950 ramp

primary
#2D4311
secondary
#54337D
accent
#45E38A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D4311

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

Preview Lab → · Contrast checker → · Palette generator →

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