#2B4315#2B4315

#2B4315 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.2% C 0.077 H 132.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#2B4315
RGBrgb(43, 67, 21)
HSLhsl(91, 52%, 17%)
HSVhsv(91, 69%, 26%)
CMYKcmyk(35.8%, 0%, 68.7%, 73.7%)
CIE-LABlab(25.51, -18.50, 24.40)
CIE-LCHlch(25.51, 30.62, 127.18°)
OKLaboklab(35.15% -0.0517 0.0566)
OKLCHoklch(35.15% 0.077 132.4)
XYZxyz(3.1387, 4.5819, 1.4283)
Luminance0.0458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4315 #2D1543
analogous
#424315 #2B4315 #154316
triadic
#2B4315 #152B43 #43152B
tetradic
#2B4315 #154243 #2D1543 #431615
square
#2B4315 #154243 #2D1543 #431615
split-complementary
#2B4315 #161543 #431542
monochromatic
#0F1707 #0F1707 #2B4315 #497224 #67A032

Accessibility & contrast

On white

10.96
#2B4315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4315
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4315#FFFFFF#000000##FFFFFF
##2B43151.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E10
Deuteranopia (green-blind)
#433C18
Tritanopia (blue-blind)
#2C4039
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b4315;
/* rgb */ color: rgb(43, 67, 21);
/* oklch */ color: oklch(35.2% 0.077 132.4);
Tailwind
colors: {
  custom: {
    50: '#667754',
    500: '#2b4315',
    950: '#000000',
  },
}
SCSS
$custom: #2b4315;
$custom-light: #667754;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4315",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 21
  },
  "hsl": {
    "h": 91.304,
    "s": 52.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35154,
    "c": 0.0767,
    "h": 132.4
  },
  "luminance": 0.04582
}

Semantic roles & 50–950 ramp

primary
#2B4315
secondary
#5B397B
accent
#4CDC97
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2B4315

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

Preview Lab → · Contrast checker → · Palette generator →

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