#2B4213#2B4213

#2B4213 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 34.8% C 0.077 H 131.5°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#2B4213
RGBrgb(43, 66, 19)
HSLhsl(89, 55%, 17%)
HSVhsv(89, 71%, 26%)
CMYKcmyk(34.8%, 0%, 71.2%, 74.1%)
CIE-LABlab(25.13, -18.18, 25.02)
CIE-LCHlch(25.13, 30.93, 126.00°)
OKLaboklab(34.84% -0.051 0.0577)
OKLCHoklch(34.84% 0.077 131.5)
XYZxyz(3.0620, 4.4569, 1.3149)
Luminance0.0446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4213 #2A1342
analogous
#424213 #2B4213 #144213
triadic
#2B4213 #132B42 #42132B
tetradic
#2B4213 #134242 #2A1342 #421314
square
#2B4213 #134242 #2A1342 #421314
split-complementary
#2B4213 #131442 #421342
monochromatic
#0F1807 #0F1807 #2B4213 #4A7221 #69A12E

Accessibility & contrast

On white

11.10
#2B4213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B4213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4213
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4213#FFFFFF#000000##FFFFFF
##2B42131.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D0D
Deuteranopia (green-blind)
#423B17
Tritanopia (blue-blind)
#2C3F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b4213;
/* rgb */ color: rgb(43, 66, 19);
/* oklch */ color: oklch(34.8% 0.077 131.5);
Tailwind
colors: {
  custom: {
    50: '#667653',
    500: '#2b4213',
    950: '#000000',
  },
}
SCSS
$custom: #2b4213;
$custom-light: #667653;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4213",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 19
  },
  "hsl": {
    "h": 89.362,
    "s": 55.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.34837,
    "c": 0.07703,
    "h": 131.5
  },
  "luminance": 0.04457
}

Semantic roles & 50–950 ramp

primary
#2B4213
secondary
#58367B
accent
#49DF92
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B4213

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

Preview Lab → · Contrast checker → · Palette generator →

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