#2B2907#2B2907

#2B2907 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.051 H 106.0°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#2B2907
RGBrgb(43, 41, 7)
HSLhsl(57, 72%, 10%)
HSVhsv(57, 84%, 17%)
CMYKcmyk(0%, 4.7%, 83.7%, 83.1%)
CIE-LABlab(16.08, -4.32, 20.39)
CIE-LCHlch(16.08, 20.84, 101.96°)
OKLaboklab(27.51% -0.014 0.0487)
OKLCHoklch(27.51% 0.051 106)
XYZxyz(1.8276, 2.1149, 0.5129)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2907 #07092B
analogous
#2B1707 #2B2907 #1B2B07
triadic
#2B2907 #072B29 #29072B
tetradic
#2B2907 #072B17 #07092B #2B071B
square
#2B2907 #072B17 #07092B #2B071B
split-complementary
#2B2907 #071B2B #17072B
monochromatic
#1A1904 #1A1904 #2B2907 #605B10 #948D18

Accessibility & contrast

On white

14.76
#2B2907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2B2907 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2907
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2907#FFFFFF#000000##FFFFFF
##2B29071.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2704
Deuteranopia (green-blind)
#2E2909
Tritanopia (blue-blind)
#2F2622
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2b2907;
/* rgb */ color: rgb(43, 41, 7);
/* oklch */ color: oklch(27.5% 0.051 106.0);
Tailwind
colors: {
  custom: {
    50: '#65624a',
    500: '#2b2907',
    950: '#000000',
  },
}
SCSS
$custom: #2b2907;
$custom-light: #65624a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2907",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 7
  },
  "hsl": {
    "h": 56.667,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27506,
    "c": 0.05067,
    "h": 106
  },
  "luminance": 0.02115
}

Semantic roles & 50–950 ramp

primary
#2B2907
secondary
#23276B
accent
#43EF39
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B2907

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

Preview Lab → · Contrast checker → · Palette generator →

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