#2B2F0C#2B2F0C

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

Color values

HEX#2B2F0C
RGBrgb(43, 47, 12)
HSLhsl(67, 59%, 12%)
HSVhsv(67, 74%, 18%)
CMYKcmyk(8.5%, 0%, 74.5%, 81.6%)
CIE-LABlab(18.25, -7.78, 20.95)
CIE-LCHlch(18.25, 22.34, 110.37°)
OKLaboklab(29.26% -0.023 0.0486)
OKLCHoklch(29.26% 0.054 115.3)
XYZxyz(2.0792, 2.5732, 0.7349)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F0C #100C2F
analogous
#2F220C #2B2F0C #1A2F0C
triadic
#2B2F0C #0C2B2F #2F0C2B
tetradic
#2B2F0C #0C2F22 #100C2F #2F0C1A
square
#2B2F0C #0C2F22 #100C2F #2F0C1A
split-complementary
#2B2F0C #0C1A2F #220C2F
monochromatic
#161806 #161806 #2B2F0C #586018 #849125

Accessibility & contrast

On white

13.87
#2B2F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2F0C
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F0C#FFFFFF#000000##FFFFFF
##2B2F0C1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C08
Deuteranopia (green-blind)
#332D0E
Tritanopia (blue-blind)
#2E2C28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2b2f0c;
/* rgb */ color: rgb(43, 47, 12);
/* oklch */ color: oklch(29.3% 0.054 115.3);
Tailwind
colors: {
  custom: {
    50: '#65674d',
    500: '#2b2f0c',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f0c;
$custom-light: #65674d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f0c",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 66.857,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29255,
    "c": 0.05378,
    "h": 115.3
  },
  "luminance": 0.02573
}

Semantic roles & 50–950 ramp

primary
#2B2F0C
secondary
#332C6B
accent
#45E357
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B2F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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