#2F320C#2F320C

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

Color values

HEX#2F320C
RGBrgb(47, 50, 12)
HSLhsl(65, 61%, 12%)
HSVhsv(65, 76%, 20%)
CMYKcmyk(6%, 0%, 76%, 80.4%)
CIE-LABlab(19.69, -7.56, 22.72)
CIE-LCHlch(19.69, 23.95, 108.41°)
OKLaboklab(30.51% -0.0227 0.052)
OKLCHoklch(30.51% 0.057 113.6)
XYZxyz(2.3793, 2.9121, 0.7845)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F320C #0F0C32
analogous
#32220C #2F320C #1C320C
triadic
#2F320C #0C2F32 #320C2F
tetradic
#2F320C #0C3222 #0F0C32 #320C1C
square
#2F320C #0C3222 #0F0C32 #320C1C
split-complementary
#2F320C #0C1C32 #220C32
monochromatic
#171906 #171906 #2F320C #5D6318 #8C9524

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F320C#FFFFFF#000000##FFFFFF
##2F320C1.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)
#362F07
Deuteranopia (green-blind)
#36300F
Tritanopia (blue-blind)
#332F2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f320c;
/* rgb */ color: rgb(47, 50, 12);
/* oklch */ color: oklch(30.5% 0.057 113.6);
Tailwind
colors: {
  custom: {
    50: '#69694d',
    500: '#2f320c',
    950: '#000000',
  },
}
SCSS
$custom: #2f320c;
$custom-light: #69694d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f320c",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 12
  },
  "hsl": {
    "h": 64.737,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30505,
    "c": 0.05673,
    "h": 113.6
  },
  "luminance": 0.02912
}

Semantic roles & 50–950 ramp

primary
#2F320C
secondary
#312C6E
accent
#43E450
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F320C

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

Preview Lab → · Contrast checker → · Palette generator →

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