#2F320B#2F320B

#2F320B is a dark, muted yellow. Relative luminance 0.029; OKLCH L 30.5% C 0.058 H 113.6°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#2F320B
RGBrgb(47, 50, 11)
HSLhsl(65, 64%, 12%)
HSVhsv(65, 78%, 20%)
CMYKcmyk(6%, 0%, 78%, 80.4%)
CIE-LABlab(19.68, -7.64, 23.16)
CIE-LCHlch(19.68, 24.39, 108.27°)
OKLaboklab(30.49% -0.023 0.0529)
OKLCHoklch(30.49% 0.058 113.6)
XYZxyz(2.3734, 2.9098, 0.7532)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F320B #0E0B32
analogous
#32220B #2F320B #1C320B
triadic
#2F320B #0B2F32 #320B2F
tetradic
#2F320B #0B3222 #0E0B32 #320B1C
square
#2F320B #0B3222 #0E0B32 #320B1C
split-complementary
#2F320B #0B1C32 #220B32
monochromatic
#181906 #181906 #2F320B #5E6416 #8D9621

Accessibility & contrast

On white

13.27
#2F320B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2F320B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F320B
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F320B#FFFFFF#000000##FFFFFF
##2F320B1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F06
Deuteranopia (green-blind)
#36300E
Tritanopia (blue-blind)
#332F2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f320b;
/* rgb */ color: rgb(47, 50, 11);
/* oklch */ color: oklch(30.5% 0.058 113.6);
Tailwind
colors: {
  custom: {
    50: '#69694c',
    500: '#2f320b',
    950: '#000000',
  },
}
SCSS
$custom: #2f320b;
$custom-light: #69694c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f320b",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 11
  },
  "hsl": {
    "h": 64.615,
    "s": 63.934,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30494,
    "c": 0.05768,
    "h": 113.6
  },
  "luminance": 0.0291
}

Semantic roles & 50–950 ramp

primary
#2F320B
secondary
#2F2A6F
accent
#41E74E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F320B

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

Preview Lab → · Contrast checker → · Palette generator →

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