#2B2F08#2B2F08

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

Color values

HEX#2B2F08
RGBrgb(43, 47, 8)
HSLhsl(66, 71%, 11%)
HSVhsv(66, 83%, 18%)
CMYKcmyk(8.5%, 0%, 83%, 81.6%)
CIE-LABlab(18.21, -8.11, 22.58)
CIE-LCHlch(18.21, 23.99, 109.76°)
OKLaboklab(29.21% -0.0244 0.0522)
OKLCHoklch(29.21% 0.058 115.1)
XYZxyz(2.0567, 2.5642, 0.6163)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F08 #0C082F
analogous
#2F1F08 #2B2F08 #172F08
triadic
#2B2F08 #082B2F #2F082B
tetradic
#2B2F08 #082F1F #0C082F #2F0817
square
#2B2F08 #082F1F #0C082F #2F0817
split-complementary
#2B2F08 #08172F #1F082F
monochromatic
#181A04 #181A04 #2B2F08 #5B6311 #8B981A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B2F08#FFFFFF#000000##FFFFFF
##2B2F081.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)
#332C04
Deuteranopia (green-blind)
#332D0B
Tritanopia (blue-blind)
#2E2C27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2b2f08;
/* rgb */ color: rgb(43, 47, 8);
/* oklch */ color: oklch(29.2% 0.058 115.1);
Tailwind
colors: {
  custom: {
    50: '#66674b',
    500: '#2b2f08',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f08;
$custom-light: #66674b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f08",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 66.154,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2921,
    "c": 0.05767,
    "h": 115.1
  },
  "luminance": 0.02564
}

Semantic roles & 50–950 ramp

primary
#2B2F08
secondary
#2C256E
accent
#3AEE4D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B2F08

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

Preview Lab → · Contrast checker → · Palette generator →

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