#2F3312#2F3312

#2F3312 is a dark, muted yellow. Relative luminance 0.030; OKLCH L 30.9% C 0.052 H 115.2°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#2F3312
RGBrgb(47, 51, 18)
HSLhsl(67, 48%, 14%)
HSVhsv(67, 65%, 20%)
CMYKcmyk(7.8%, 0%, 64.7%, 80%)
CIE-LABlab(20.11, -7.63, 20.03)
CIE-LCHlch(20.11, 21.43, 110.84°)
OKLaboklab(30.86% -0.0221 0.0468)
OKLCHoklch(30.86% 0.052 115.2)
XYZxyz(2.4653, 3.0157, 1.0244)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3312 #161233
analogous
#332612 #2F3312 #1E3312
triadic
#2F3312 #122F33 #33122F
tetradic
#2F3312 #123326 #161233 #33121E
square
#2F3312 #123326 #161233 #33121E
split-complementary
#2F3312 #121E33 #261233
monochromatic
#151708 #151708 #2F3312 #596022 #828D32

Accessibility & contrast

On white

13.10
#2F3312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3312
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3312#FFFFFF#000000##FFFFFF
##2F33121.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300F
Deuteranopia (green-blind)
#373114
Tritanopia (blue-blind)
#32302C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f3312;
/* rgb */ color: rgb(47, 51, 18);
/* oklch */ color: oklch(30.9% 0.052 115.2);
Tailwind
colors: {
  custom: {
    50: '#686a51',
    500: '#2f3312',
    950: '#000000',
  },
}
SCSS
$custom: #2f3312;
$custom-light: #686a51;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3312",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 18
  },
  "hsl": {
    "h": 67.273,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30862,
    "c": 0.05177,
    "h": 115.2
  },
  "luminance": 0.03016
}

Semantic roles & 50–950 ramp

primary
#2F3312
secondary
#3C356B
accent
#50D761
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F3312

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

Preview Lab → · Contrast checker → · Palette generator →

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