#2F340E#2F340E

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

Color values

HEX#2F340E
RGBrgb(47, 52, 14)
HSLhsl(68, 58%, 13%)
HSVhsv(68, 73%, 20%)
CMYKcmyk(9.6%, 0%, 73.1%, 79.6%)
CIE-LABlab(20.41, -8.64, 22.58)
CIE-LCHlch(20.41, 24.18, 110.95°)
OKLaboklab(31.09% -0.0255 0.0517)
OKLCHoklch(31.09% 0.058 116.2)
XYZxyz(2.4796, 3.0921, 0.8816)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F340E #130E34
analogous
#34260E #2F340E #1C340E
triadic
#2F340E #0E2F34 #340E2F
tetradic
#2F340E #0E3426 #130E34 #340E1C
square
#2F340E #0E3426 #130E34 #340E1C
split-complementary
#2F340E #0E1C34 #260E34
monochromatic
#161806 #161806 #2F340E #5B641B #869428

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F340E#FFFFFF#000000##FFFFFF
##2F340E1.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)
#383109
Deuteranopia (green-blind)
#383111
Tritanopia (blue-blind)
#32312C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f340e;
/* rgb */ color: rgb(47, 52, 14);
/* oklch */ color: oklch(31.1% 0.058 116.2);
Tailwind
colors: {
  custom: {
    50: '#696b4e',
    500: '#2f340e',
    950: '#000000',
  },
}
SCSS
$custom: #2f340e;
$custom-light: #696b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f340e",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 14
  },
  "hsl": {
    "h": 67.895,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31089,
    "c": 0.05766,
    "h": 116.2
  },
  "luminance": 0.03092
}

Semantic roles & 50–950 ramp

primary
#2F340E
secondary
#372F6F
accent
#47E15B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F340E

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

Preview Lab → · Contrast checker → · Palette generator →

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