#2F3412#2F3412

#2F3412 is a dark, muted yellow. Relative luminance 0.031; OKLCH L 31.1% C 0.053 H 116.6°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#2F3412
RGBrgb(47, 52, 18)
HSLhsl(69, 49%, 14%)
HSVhsv(69, 65%, 20%)
CMYKcmyk(9.6%, 0%, 65.4%, 79.6%)
CIE-LABlab(20.46, -8.25, 20.43)
CIE-LCHlch(20.46, 22.04, 111.99°)
OKLaboklab(31.14% -0.0238 0.0477)
OKLCHoklch(31.14% 0.053 116.6)
XYZxyz(2.5095, 3.1040, 1.0391)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3412 #171234
analogous
#342812 #2F3412 #1E3412
triadic
#2F3412 #122F34 #34122F
tetradic
#2F3412 #123428 #171234 #34121E
square
#2F3412 #123428 #171234 #34121E
split-complementary
#2F3412 #121E34 #281234
monochromatic
#151708 #151708 #2F3412 #586122 #818F31

Accessibility & contrast

On white

12.96
#2F3412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2F3412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3412
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3412#FFFFFF#000000##FFFFFF
##2F34121.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310F
Deuteranopia (green-blind)
#373214
Tritanopia (blue-blind)
#32312D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f3412;
/* rgb */ color: rgb(47, 52, 18);
/* oklch */ color: oklch(31.1% 0.053 116.6);
Tailwind
colors: {
  custom: {
    50: '#686b51',
    500: '#2f3412',
    950: '#000000',
  },
}
SCSS
$custom: #2f3412;
$custom-light: #686b51;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3412",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 18
  },
  "hsl": {
    "h": 68.824,
    "s": 48.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31142,
    "c": 0.05332,
    "h": 116.6
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#2F3412
secondary
#3D356C
accent
#50D864
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F3412

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

Preview Lab → · Contrast checker → · Palette generator →

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