#2F340F#2F340F

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

Color values

HEX#2F340F
RGBrgb(47, 52, 15)
HSLhsl(68, 55%, 13%)
HSVhsv(68, 71%, 20%)
CMYKcmyk(9.6%, 0%, 71.2%, 79.6%)
CIE-LABlab(20.42, -8.55, 22.07)
CIE-LCHlch(20.42, 23.67, 111.17°)
OKLaboklab(31.1% -0.0251 0.0508)
OKLCHoklch(31.1% 0.057 116.3)
XYZxyz(2.4866, 3.0948, 0.9182)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F340F #140F34
analogous
#34260F #2F340F #1C340F
triadic
#2F340F #0F2F34 #340F2F
tetradic
#2F340F #0F3426 #140F34 #340F1C
square
#2F340F #0F3426 #140F34 #340F1C
split-complementary
#2F340F #0F1C34 #260F34
monochromatic
#151807 #151807 #2F340F #5A631D #85932A

Accessibility & contrast

On white

12.97
#2F340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F340F
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F340F#FFFFFF#000000##FFFFFF
##2F340F1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310B
Deuteranopia (green-blind)
#383111
Tritanopia (blue-blind)
#32312C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f340f;
/* rgb */ color: rgb(47, 52, 15);
/* oklch */ color: oklch(31.1% 0.057 116.3);
Tailwind
colors: {
  custom: {
    50: '#696b4f',
    500: '#2f340f',
    950: '#000000',
  },
}
SCSS
$custom: #2f340f;
$custom-light: #696b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f340f",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 68.108,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31101,
    "c": 0.05663,
    "h": 116.3
  },
  "luminance": 0.03095
}

Semantic roles & 50–950 ramp

primary
#2F340F
secondary
#39316E
accent
#49DF5D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F340F

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

Preview Lab → · Contrast checker → · Palette generator →

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