#2B4317#2B4317

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

Color values

HEX#2B4317
RGBrgb(43, 67, 23)
HSLhsl(93, 49%, 18%)
HSVhsv(93, 66%, 26%)
CMYKcmyk(35.8%, 0%, 65.7%, 73.7%)
CIE-LABlab(25.53, -18.28, 23.35)
CIE-LCHlch(25.53, 29.65, 128.05°)
OKLaboklab(35.18% -0.0509 0.0546)
OKLCHoklch(35.18% 0.075 133)
XYZxyz(3.1580, 4.5896, 1.5299)
Luminance0.0459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4317 #2F1743
analogous
#414317 #2B4317 #174319
triadic
#2B4317 #172B43 #43172B
tetradic
#2B4317 #174143 #2F1743 #431917
square
#2B4317 #174143 #2F1743 #431917
split-complementary
#2B4317 #191743 #431741
monochromatic
#0F1708 #0F1708 #2B4317 #487127 #659E36

Accessibility & contrast

On white

10.95
#2B4317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4317
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4317#FFFFFF#000000##FFFFFF
##2B43171.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E12
Deuteranopia (green-blind)
#423C1A
Tritanopia (blue-blind)
#2B4039
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b4317;
/* rgb */ color: rgb(43, 67, 23);
/* oklch */ color: oklch(35.2% 0.075 133.0);
Tailwind
colors: {
  custom: {
    50: '#667756',
    500: '#2b4317',
    950: '#000000',
  },
}
SCSS
$custom: #2b4317;
$custom-light: #667756;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4317",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 23
  },
  "hsl": {
    "h": 92.727,
    "s": 48.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35181,
    "c": 0.07468,
    "h": 133
  },
  "luminance": 0.0459
}

Semantic roles & 50–950 ramp

primary
#2B4317
secondary
#5E3C7A
accent
#4FD89A
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2B4317

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

Preview Lab → · Contrast checker → · Palette generator →

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