#2F3414#2F3414

#2F3414 is a dark, muted yellow. Relative luminance 0.031; OKLCH L 31.2% C 0.051 H 116.8°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#2F3414
RGBrgb(47, 52, 20)
HSLhsl(69, 44%, 14%)
HSVhsv(69, 62%, 20%)
CMYKcmyk(9.6%, 0%, 61.5%, 79.6%)
CIE-LABlab(20.48, -8.03, 19.29)
CIE-LCHlch(20.48, 20.89, 112.60°)
OKLaboklab(31.17% -0.023 0.0455)
OKLCHoklch(31.17% 0.051 116.8)
XYZxyz(2.5266, 3.1109, 1.1290)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3414 #191434
analogous
#342914 #2F3414 #1F3414
triadic
#2F3414 #142F34 #34142F
tetradic
#2F3414 #143429 #191434 #34141F
square
#2F3414 #143429 #191434 #34141F
split-complementary
#2F3414 #141F34 #291434
monochromatic
#141609 #141609 #2F3414 #576025 #7F8C36

Accessibility & contrast

On white

12.95
#2F3414 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3414
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3414#FFFFFF#000000##FFFFFF
##2F34141.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383111
Deuteranopia (green-blind)
#373216
Tritanopia (blue-blind)
#32312D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f3414;
/* rgb */ color: rgb(47, 52, 20);
/* oklch */ color: oklch(31.2% 0.051 116.8);
Tailwind
colors: {
  custom: {
    50: '#686b52',
    500: '#2f3414',
    950: '#000000',
  },
}
SCSS
$custom: #2f3414;
$custom-light: #686b52;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3414",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 20
  },
  "hsl": {
    "h": 69.375,
    "s": 44.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31172,
    "c": 0.05095,
    "h": 116.8
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#2F3414
secondary
#40386B
accent
#54D468
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F3414

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

Preview Lab → · Contrast checker → · Palette generator →

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