#2F321B#2F321B

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

Color values

HEX#2F321B
RGBrgb(47, 50, 27)
HSLhsl(68, 30%, 15%)
HSVhsv(68, 46%, 20%)
CMYKcmyk(6%, 0%, 46%, 80.4%)
CIE-LABlab(19.90, -5.84, 14.20)
CIE-LCHlch(19.90, 15.36, 112.35°)
OKLaboklab(30.75% -0.016 0.0348)
OKLCHoklch(30.75% 0.038 114.8)
XYZxyz(2.5107, 2.9647, 1.4767)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F321B #1E1B32
analogous
#32291B #2F321B #23321B
triadic
#2F321B #1B2F32 #321B2F
tetradic
#2F321B #1B3229 #1E1B32 #321B23
square
#2F321B #1B3229 #1E1B32 #321B23
split-complementary
#2F321B #1B2332 #291B32
monochromatic
#13140B #13140B #2F321B #545A30 #7A8146

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F321B#FFFFFF#000000##FFFFFF
##2F321B1.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)
#353019
Deuteranopia (green-blind)
#35301C
Tritanopia (blue-blind)
#31302C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f321b;
/* rgb */ color: rgb(47, 50, 27);
/* oklch */ color: oklch(30.7% 0.038 114.8);
Tailwind
colors: {
  custom: {
    50: '#686957',
    500: '#2f321b',
    950: '#000000',
  },
}
SCSS
$custom: #2f321b;
$custom-light: #686957;
$custom-dark: #000000;
JSON
{
  "hex": "#2f321b",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 27
  },
  "hsl": {
    "h": 67.826,
    "s": 29.87,
    "l": 15.098
  },
  "oklch": {
    "l": 0.30745,
    "c": 0.03826,
    "h": 114.8
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#2F321B
secondary
#474366
accent
#62C66F
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2F321B

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

Preview Lab → · Contrast checker → · Palette generator →

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