#2F321D#2F321D

#2F321D is a dark, muted yellow. Relative luminance 0.030; OKLCH L 30.8% C 0.035 H 115.1°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#2F321D
RGBrgb(47, 50, 29)
HSLhsl(69, 27%, 15%)
HSVhsv(69, 42%, 20%)
CMYKcmyk(6%, 0%, 42%, 80.4%)
CIE-LABlab(19.94, -5.53, 12.95)
CIE-LCHlch(19.94, 14.08, 113.14°)
OKLaboklab(30.79% -0.015 0.032)
OKLCHoklch(30.79% 0.035 115.1)
XYZxyz(2.5347, 2.9743, 1.6027)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F321D #201D32
analogous
#322A1D #2F321D #24321D
triadic
#2F321D #1D2F32 #321D2F
tetradic
#2F321D #1D322A #201D32 #321D24
square
#2F321D #1D322A #201D32 #321D24
split-complementary
#2F321D #1D2432 #2A1D32
monochromatic
#12130B #12130B #2F321D #535933 #787F4A

Accessibility & contrast

On white

13.17
#2F321D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2F321D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F321D
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F321D#FFFFFF#000000##FFFFFF
##2F321D1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301B
Deuteranopia (green-blind)
#35301E
Tritanopia (blue-blind)
#31302D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f321d;
/* rgb */ color: rgb(47, 50, 29);
/* oklch */ color: oklch(30.8% 0.035 115.1);
Tailwind
colors: {
  custom: {
    50: '#686959',
    500: '#2f321d',
    950: '#000000',
  },
}
SCSS
$custom: #2f321d;
$custom-light: #686959;
$custom-dark: #000000;
JSON
{
  "hex": "#2f321d",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 29
  },
  "hsl": {
    "h": 68.571,
    "s": 26.582,
    "l": 15.49
  },
  "oklch": {
    "l": 0.30788,
    "c": 0.03531,
    "h": 115.1
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#2F321D
secondary
#4A4665
accent
#65C372
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2F321D

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

Preview Lab → · Contrast checker → · Palette generator →

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