#2B400D#2B400D

#2B400D is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.079 H 129.4°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#2B400D
RGBrgb(43, 64, 13)
HSLhsl(85, 66%, 15%)
HSVhsv(85, 80%, 25%)
CMYKcmyk(32.8%, 0%, 79.7%, 74.9%)
CIE-LABlab(24.35, -17.65, 27.13)
CIE-LCHlch(24.35, 32.37, 123.04°)
OKLaboklab(34.19% -0.0502 0.0612)
OKLCHoklch(34.19% 0.079 129.4)
XYZxyz(2.9023, 4.2094, 1.0403)
Luminance0.0421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B400D #220D40
analogous
#403C0D #2B400D #11400D
triadic
#2B400D #0D2B40 #400D2B
tetradic
#2B400D #0D403C #220D40 #400D11
square
#2B400D #0D403C #220D40 #400D11
split-complementary
#2B400D #0D1140 #3C0D40
monochromatic
#111905 #111905 #2B400D #4D7317 #6FA622

Accessibility & contrast

On white

11.40
#2B400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2B400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B400D
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B400D#FFFFFF#000000##FFFFFF
##2B400D1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B06
Deuteranopia (green-blind)
#413911
Tritanopia (blue-blind)
#2C3D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b400d;
/* rgb */ color: rgb(43, 64, 13);
/* oklch */ color: oklch(34.2% 0.079 129.4);
Tailwind
colors: {
  custom: {
    50: '#67754f',
    500: '#2b400d',
    950: '#000000',
  },
}
SCSS
$custom: #2b400d;
$custom-light: #67754f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b400d",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 84.706,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34188,
    "c": 0.07912,
    "h": 129.4
  },
  "luminance": 0.04209
}

Semantic roles & 50–950 ramp

primary
#2B400D
secondary
#4D2D7C
accent
#3FE985
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B400D

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

Preview Lab → · Contrast checker → · Palette generator →

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