#2B4313#2B4313

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

Color values

HEX#2B4313
RGBrgb(43, 67, 19)
HSLhsl(90, 56%, 17%)
HSVhsv(90, 72%, 26%)
CMYKcmyk(35.8%, 0%, 71.6%, 73.7%)
CIE-LABlab(25.49, -18.72, 25.42)
CIE-LCHlch(25.49, 31.56, 126.37°)
OKLaboklab(35.13% -0.0525 0.0585)
OKLCHoklch(35.13% 0.079 131.9)
XYZxyz(3.1209, 4.5748, 1.3346)
Luminance0.0457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4313 #2B1343
analogous
#434313 #2B4313 #134313
triadic
#2B4313 #132B43 #43132B
tetradic
#2B4313 #134343 #2B1343 #431313
square
#2B4313 #134343 #2B1343 #431313
split-complementary
#2B4313 #131343 #431343
monochromatic
#0F1807 #0F1807 #2B4313 #4A7321 #68A22E

Accessibility & contrast

On white

10.97
#2B4313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4313
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4313#FFFFFF#000000##FFFFFF
##2B43131.0010.971.9210.97
#FFFFFF10.971.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4313;
/* rgb */ color: rgb(43, 67, 19);
/* oklch */ color: oklch(35.1% 0.079 131.9);
Tailwind
colors: {
  custom: {
    50: '#667753',
    500: '#2b4313',
    950: '#000000',
  },
}
SCSS
$custom: #2b4313;
$custom-light: #667753;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4313",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 19
  },
  "hsl": {
    "h": 90,
    "s": 55.814,
    "l": 16.863
  },
  "oklch": {
    "l": 0.3513,
    "c": 0.07862,
    "h": 131.9
  },
  "luminance": 0.04575
}

Semantic roles & 50–950 ramp

primary
#2B4313
secondary
#59367C
accent
#49DF94
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B4313

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

Preview Lab → · Contrast checker → · Palette generator →

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