#2F321F#2F321F

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

Color values

HEX#2F321F
RGBrgb(47, 50, 31)
HSLhsl(69, 23%, 16%)
HSVhsv(69, 38%, 20%)
CMYKcmyk(6%, 0%, 38%, 80.4%)
CIE-LABlab(19.98, -5.21, 11.69)
CIE-LCHlch(19.98, 12.80, 114.03°)
OKLaboklab(30.83% -0.014 0.0291)
OKLCHoklch(30.83% 0.032 115.6)
XYZxyz(2.5602, 2.9845, 1.7372)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F321F #221F32
analogous
#322B1F #2F321F #25321F
triadic
#2F321F #1F2F32 #321F2F
tetradic
#2F321F #1F322B #221F32 #321F25
square
#2F321F #1F322B #221F32 #321F25
split-complementary
#2F321F #1F2532 #2B1F32
monochromatic
#12130C #12130C #2F321F #535836 #767E4E

Accessibility & contrast

On white

13.15
#2F321F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2F321F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F321F
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F321F#FFFFFF#000000##FFFFFF
##2F321F1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f321f;
/* rgb */ color: rgb(47, 50, 31);
/* oklch */ color: oklch(30.8% 0.032 115.6);
Tailwind
colors: {
  custom: {
    50: '#67695a',
    500: '#2f321f',
    950: '#000000',
  },
}
SCSS
$custom: #2f321f;
$custom-light: #67695a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f321f",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 31
  },
  "hsl": {
    "h": 69.474,
    "s": 23.457,
    "l": 15.882
  },
  "oklch": {
    "l": 0.30834,
    "c": 0.03227,
    "h": 115.6
  },
  "luminance": 0.02984
}

Semantic roles & 50–950 ramp

primary
#2F321F
secondary
#4D4865
accent
#68C076
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060604
muted
#7A7A79

Preview Lab

Preview with #2F321F

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

Preview Lab → · Contrast checker → · Palette generator →

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