#2F321A#2F321A

#2F321A is a dark, muted yellow. Relative luminance 0.030; OKLCH L 30.7% C 0.040 H 114.6°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#2F321A
RGBrgb(47, 50, 26)
HSLhsl(68, 32%, 15%)
HSVhsv(68, 48%, 20%)
CMYKcmyk(6%, 0%, 48%, 80.4%)
CIE-LABlab(19.88, -5.99, 14.83)
CIE-LCHlch(19.88, 15.99, 111.98°)
OKLaboklab(30.72% -0.0165 0.0361)
OKLCHoklch(30.72% 0.04 114.6)
XYZxyz(2.4994, 2.9602, 1.4168)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F321A #1D1A32
analogous
#32291A #2F321A #23321A
triadic
#2F321A #1A2F32 #321A2F
tetradic
#2F321A #1A3229 #1D1A32 #321A23
square
#2F321A #1A3229 #1D1A32 #321A23
split-complementary
#2F321A #1A2332 #291A32
monochromatic
#13140A #13140A #2F321A #555A2F #7B8344

Accessibility & contrast

On white

13.19
#2F321A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F321A
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F321A#FFFFFF#000000##FFFFFF
##2F321A1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353018
Deuteranopia (green-blind)
#35301B
Tritanopia (blue-blind)
#322F2C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f321a;
/* rgb */ color: rgb(47, 50, 26);
/* oklch */ color: oklch(30.7% 0.040 114.6);
Tailwind
colors: {
  custom: {
    50: '#686957',
    500: '#2f321a',
    950: '#000000',
  },
}
SCSS
$custom: #2f321a;
$custom-light: #686957;
$custom-dark: #000000;
JSON
{
  "hex": "#2f321a",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 26
  },
  "hsl": {
    "h": 67.5,
    "s": 31.579,
    "l": 14.902
  },
  "oklch": {
    "l": 0.30724,
    "c": 0.03971,
    "h": 114.6
  },
  "luminance": 0.0296
}

Semantic roles & 50–950 ramp

primary
#2F321A
secondary
#464166
accent
#60C86D
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2F321A

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

Preview Lab → · Contrast checker → · Palette generator →

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