#2B2F0F#2B2F0F

#2B2F0F is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.3% C 0.051 H 115.5°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#2B2F0F
RGBrgb(43, 47, 15)
HSLhsl(68, 52%, 12%)
HSVhsv(68, 68%, 18%)
CMYKcmyk(8.5%, 0%, 68.1%, 81.6%)
CIE-LABlab(18.28, -7.49, 19.51)
CIE-LCHlch(18.28, 20.90, 110.99°)
OKLaboklab(29.29% -0.0218 0.0456)
OKLCHoklch(29.29% 0.051 115.5)
XYZxyz(2.0990, 2.5811, 0.8395)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F0F #130F2F
analogous
#2F230F #2B2F0F #1B2F0F
triadic
#2B2F0F #0F2B2F #2F0F2B
tetradic
#2B2F0F #0F2F23 #130F2F #2F0F1B
square
#2B2F0F #0F2F23 #130F2F #2F0F1B
split-complementary
#2B2F0F #0F1B2F #230F2F
monochromatic
#151707 #151707 #2B2F0F #555D1E #808C2D

Accessibility & contrast

On white

13.85
#2B2F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2B2F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F0F
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F0F#FFFFFF#000000##FFFFFF
##2B2F0F1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C0C
Deuteranopia (green-blind)
#322D11
Tritanopia (blue-blind)
#2E2C28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2b2f0f;
/* rgb */ color: rgb(43, 47, 15);
/* oklch */ color: oklch(29.3% 0.051 115.5);
Tailwind
colors: {
  custom: {
    50: '#65674e',
    500: '#2b2f0f',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f0f;
$custom-light: #65674e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f0f",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 15
  },
  "hsl": {
    "h": 67.5,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29294,
    "c": 0.05051,
    "h": 115.5
  },
  "luminance": 0.02581
}

Semantic roles & 50–950 ramp

primary
#2B2F0F
secondary
#383169
accent
#4DDB5F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2B2F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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