#2B310A#2B310A

#2B310A is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.8% C 0.059 H 117.6°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#2B310A
RGBrgb(43, 49, 10)
HSLhsl(69, 66%, 12%)
HSVhsv(69, 80%, 19%)
CMYKcmyk(12.2%, 0%, 79.6%, 80.8%)
CIE-LABlab(18.94, -9.20, 22.62)
CIE-LCHlch(18.94, 24.42, 112.13°)
OKLaboklab(29.8% -0.0272 0.052)
OKLCHoklch(29.8% 0.059 117.6)
XYZxyz(2.1494, 2.7322, 0.7012)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B310A #100A31
analogous
#31240A #2B310A #18310A
triadic
#2B310A #0A2B31 #310A2B
tetradic
#2B310A #0A3124 #100A31 #310A18
square
#2B310A #0A3124 #100A31 #310A18
split-complementary
#2B310A #0A1831 #240A31
monochromatic
#161905 #161905 #2B310A #586414 #84971F

Accessibility & contrast

On white

13.58
#2B310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B310A
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B310A#FFFFFF#000000##FFFFFF
##2B310A1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b310a;
/* rgb */ color: rgb(43, 49, 10);
/* oklch */ color: oklch(29.8% 0.059 117.6);
Tailwind
colors: {
  custom: {
    50: '#66694c',
    500: '#2b310a',
    950: '#000000',
  },
}
SCSS
$custom: #2b310a;
$custom-light: #66694c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b310a",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 69.231,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29803,
    "c": 0.0587,
    "h": 117.6
  },
  "luminance": 0.02732
}

Semantic roles & 50–950 ramp

primary
#2B310A
secondary
#33296E
accent
#3FE959
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B310A

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

Preview Lab → · Contrast checker → · Palette generator →

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