#2B300C#2B300C

#2B300C is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.5% C 0.055 H 116.6°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#2B300C
RGBrgb(43, 48, 12)
HSLhsl(68, 60%, 12%)
HSVhsv(68, 75%, 19%)
CMYKcmyk(10.4%, 0%, 75%, 81.2%)
CIE-LABlab(18.60, -8.41, 21.37)
CIE-LCHlch(18.60, 22.96, 111.48°)
OKLaboklab(29.54% -0.0247 0.0494)
OKLCHoklch(29.54% 0.055 116.6)
XYZxyz(2.1196, 2.6541, 0.7484)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B300C #110C30
analogous
#30230C #2B300C #19300C
triadic
#2B300C #0C2B30 #300C2B
tetradic
#2B300C #0C3023 #110C30 #300C19
square
#2B300C #0C3023 #110C30 #300C19
split-complementary
#2B300C #0C1930 #230C30
monochromatic
#161806 #161806 #2B300C #576118 #839224

Accessibility & contrast

On white

13.72
#2B300C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2B300C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B300C
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B300C#FFFFFF#000000##FFFFFF
##2B300C1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D08
Deuteranopia (green-blind)
#332E0E
Tritanopia (blue-blind)
#2E2D28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2b300c;
/* rgb */ color: rgb(43, 48, 12);
/* oklch */ color: oklch(29.5% 0.055 116.6);
Tailwind
colors: {
  custom: {
    50: '#65684d',
    500: '#2b300c',
    950: '#000000',
  },
}
SCSS
$custom: #2b300c;
$custom-light: #65684d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b300c",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 12
  },
  "hsl": {
    "h": 68.333,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29539,
    "c": 0.05528,
    "h": 116.6
  },
  "luminance": 0.02654
}

Semantic roles & 50–950 ramp

primary
#2B300C
secondary
#352C6C
accent
#45E35B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B300C

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

Preview Lab → · Contrast checker → · Palette generator →

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