#2B2F09#2B2F09

#2B2F09 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.2% C 0.057 H 115.1°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#2B2F09
RGBrgb(43, 47, 9)
HSLhsl(66, 68%, 11%)
HSVhsv(66, 81%, 18%)
CMYKcmyk(8.5%, 0%, 80.9%, 81.6%)
CIE-LABlab(18.22, -8.03, 22.18)
CIE-LCHlch(18.22, 23.59, 109.90°)
OKLaboklab(29.22% -0.0241 0.0513)
OKLCHoklch(29.22% 0.057 115.1)
XYZxyz(2.0621, 2.5664, 0.6451)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F09 #0D092F
analogous
#2F2009 #2B2F09 #182F09
triadic
#2B2F09 #092B2F #2F092B
tetradic
#2B2F09 #092F20 #0D092F #2F0918
square
#2B2F09 #092F20 #0D092F #2F0918
split-complementary
#2B2F09 #09182F #20092F
monochromatic
#171A05 #171A05 #2B2F09 #5A6213 #89961D

Accessibility & contrast

On white

13.88
#2B2F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2B2F09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F09
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F09#FFFFFF#000000##FFFFFF
##2B2F091.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C05
Deuteranopia (green-blind)
#332D0C
Tritanopia (blue-blind)
#2E2C27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2b2f09;
/* rgb */ color: rgb(43, 47, 9);
/* oklch */ color: oklch(29.2% 0.057 115.1);
Tailwind
colors: {
  custom: {
    50: '#66674b',
    500: '#2b2f09',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f09;
$custom-light: #66674b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f09",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 9
  },
  "hsl": {
    "h": 66.316,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.29221,
    "c": 0.0567,
    "h": 115.1
  },
  "luminance": 0.02566
}

Semantic roles & 50–950 ramp

primary
#2B2F09
secondary
#2E276D
accent
#3DEB4F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B2F09

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

Preview Lab → · Contrast checker → · Palette generator →

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