#2F2B0A#2F2B0A

#2F2B0A is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.5% C 0.050 H 102.4°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#2F2B0A
RGBrgb(47, 43, 10)
HSLhsl(54, 65%, 11%)
HSVhsv(54, 79%, 18%)
CMYKcmyk(0%, 8.5%, 78.7%, 81.6%)
CIE-LABlab(17.25, -3.20, 20.70)
CIE-LCHlch(17.25, 20.95, 98.78°)
OKLaboklab(28.55% -0.0106 0.0484)
OKLCHoklch(28.55% 0.05 102.4)
XYZxyz(2.0910, 2.3541, 0.6313)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B0A #0A0E2F
analogous
#2F180A #2F2B0A #202F0A
triadic
#2F2B0A #0A2F2B #2B0A2F
tetradic
#2F2B0A #0A2F18 #0A0E2F #2F0A20
square
#2F2B0A #0A2F18 #0A0E2F #2F0A20
split-complementary
#2F2B0A #0A202F #180A2F
monochromatic
#191705 #191705 #2F2B0A #615915 #94871F

Accessibility & contrast

On white

14.28
#2F2B0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2F2B0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B0A
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B0A#FFFFFF#000000##FFFFFF
##2F2B0A1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302906
Deuteranopia (green-blind)
#312B0C
Tritanopia (blue-blind)
#332724
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f2b0a;
/* rgb */ color: rgb(47, 43, 10);
/* oklch */ color: oklch(28.5% 0.050 102.4);
Tailwind
colors: {
  custom: {
    50: '#69644b',
    500: '#2f2b0a',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b0a;
$custom-light: #69644b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b0a",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 10
  },
  "hsl": {
    "h": 53.514,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2855,
    "c": 0.04957,
    "h": 102.4
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#2F2B0A
secondary
#29306C
accent
#52E840
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2B0A

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

Preview Lab → · Contrast checker → · Palette generator →

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