#2B310D#2B310D

#2B310D is a dark, muted yellow-green. Relative luminance 0.027; OKLCH L 29.8% C 0.056 H 117.9°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#2B310D
RGBrgb(43, 49, 13)
HSLhsl(70, 58%, 12%)
HSVhsv(70, 73%, 19%)
CMYKcmyk(12.2%, 0%, 73.5%, 80.8%)
CIE-LABlab(18.97, -8.94, 21.33)
CIE-LCHlch(18.97, 23.13, 112.74°)
OKLaboklab(29.84% -0.0261 0.0493)
OKLCHoklch(29.84% 0.056 117.9)
XYZxyz(2.1673, 2.7393, 0.7953)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B310D #130D31
analogous
#31250D #2B310D #19310D
triadic
#2B310D #0D2B31 #310D2B
tetradic
#2B310D #0D3125 #130D31 #310D19
square
#2B310D #0D3125 #130D31 #310D19
split-complementary
#2B310D #0D1931 #250D31
monochromatic
#151806 #151806 #2B310D #55611A #809227

Accessibility & contrast

On white

13.57
#2B310D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2B310D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B310D
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B310D#FFFFFF#000000##FFFFFF
##2B310D1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E09
Deuteranopia (green-blind)
#342E0F
Tritanopia (blue-blind)
#2E2E29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2b310d;
/* rgb */ color: rgb(43, 49, 13);
/* oklch */ color: oklch(29.8% 0.056 117.9);
Tailwind
colors: {
  custom: {
    50: '#65694d',
    500: '#2b310d',
    950: '#000000',
  },
}
SCSS
$custom: #2b310d;
$custom-light: #65694d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b310d",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 70,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29837,
    "c": 0.05578,
    "h": 117.9
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#2B310D
secondary
#382E6C
accent
#47E160
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B310D

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

Preview Lab → · Contrast checker → · Palette generator →

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