#2F321C#2F321C

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

Color values

HEX#2F321C
RGBrgb(47, 50, 28)
HSLhsl(68, 28%, 15%)
HSVhsv(68, 44%, 20%)
CMYKcmyk(6%, 0%, 44%, 80.4%)
CIE-LABlab(19.92, -5.69, 13.58)
CIE-LCHlch(19.92, 14.72, 112.73°)
OKLaboklab(30.77% -0.0155 0.0334)
OKLCHoklch(30.77% 0.037 114.9)
XYZxyz(2.5225, 2.9694, 1.5387)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F321C #1F1C32
analogous
#322A1C #2F321C #24321C
triadic
#2F321C #1C2F32 #321C2F
tetradic
#2F321C #1C322A #1F1C32 #321C24
square
#2F321C #1C322A #1F1C32 #321C24
split-complementary
#2F321C #1C2432 #2A1C32
monochromatic
#12140B #12140B #2F321C #545932 #798048

Accessibility & contrast

On white

13.18
#2F321C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F321C
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F321C#FFFFFF#000000##FFFFFF
##2F321C1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f321c;
/* rgb */ color: rgb(47, 50, 28);
/* oklch */ color: oklch(30.8% 0.037 114.9);
Tailwind
colors: {
  custom: {
    50: '#686958',
    500: '#2f321c',
    950: '#000000',
  },
}
SCSS
$custom: #2f321c;
$custom-light: #686958;
$custom-dark: #000000;
JSON
{
  "hex": "#2f321c",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 28
  },
  "hsl": {
    "h": 68.182,
    "s": 28.205,
    "l": 15.294
  },
  "oklch": {
    "l": 0.30766,
    "c": 0.0368,
    "h": 114.9
  },
  "luminance": 0.02969
}

Semantic roles & 50–950 ramp

primary
#2F321C
secondary
#494466
accent
#63C571
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2F321C

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

Preview Lab → · Contrast checker → · Palette generator →

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