#2F340D#2F340D

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

Color values

HEX#2F340D
RGBrgb(47, 52, 13)
HSLhsl(68, 60%, 13%)
HSVhsv(68, 75%, 20%)
CMYKcmyk(9.6%, 0%, 75%, 79.6%)
CIE-LABlab(20.40, -8.73, 23.06)
CIE-LCHlch(20.40, 24.66, 110.74°)
OKLaboklab(31.08% -0.0258 0.0527)
OKLCHoklch(31.08% 0.059 116.1)
XYZxyz(2.4730, 3.0894, 0.8467)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F340D #120D34
analogous
#34250D #2F340D #1B340D
triadic
#2F340D #0D2F34 #340D2F
tetradic
#2F340D #0D3425 #120D34 #340D1B
square
#2F340D #0D3425 #120D34 #340D1B
split-complementary
#2F340D #0D1B34 #250D34
monochromatic
#161806 #161806 #2F340D #5B6519 #889625

Accessibility & contrast

On white

12.98
#2F340D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F340D
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F340D#FFFFFF#000000##FFFFFF
##2F340D1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383108
Deuteranopia (green-blind)
#383110
Tritanopia (blue-blind)
#32312C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f340d;
/* rgb */ color: rgb(47, 52, 13);
/* oklch */ color: oklch(31.1% 0.059 116.1);
Tailwind
colors: {
  custom: {
    50: '#696b4e',
    500: '#2f340d',
    950: '#000000',
  },
}
SCSS
$custom: #2f340d;
$custom-light: #696b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f340d",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 13
  },
  "hsl": {
    "h": 67.692,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31077,
    "c": 0.05865,
    "h": 116.1
  },
  "luminance": 0.03089
}

Semantic roles & 50–950 ramp

primary
#2F340D
secondary
#362D6F
accent
#45E359
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F340D

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

Preview Lab → · Contrast checker → · Palette generator →

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