#2F2C12#2F2C12

#2F2C12 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.9% C 0.042 H 102.7°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#2F2C12
RGBrgb(47, 44, 18)
HSLhsl(54, 45%, 13%)
HSVhsv(54, 62%, 18%)
CMYKcmyk(0%, 6.4%, 61.7%, 81.6%)
CIE-LABlab(17.69, -3.10, 17.19)
CIE-LCHlch(17.69, 17.47, 100.22°)
OKLaboklab(28.94% -0.0092 0.0407)
OKLCHoklch(28.94% 0.042 102.7)
XYZxyz(2.1822, 2.4494, 0.9300)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C12 #12152F
analogous
#2F1D12 #2F2C12 #232F12
triadic
#2F2C12 #122F2C #2C122F
tetradic
#2F2C12 #122F1D #12152F #2F1223
square
#2F2C12 #122F1D #12152F #2F1223
split-complementary
#2F2C12 #12232F #1D122F
monochromatic
#161508 #161508 #2F2C12 #5B5523 #887F34

Accessibility & contrast

On white

14.10
#2F2C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2F2C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C12
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C12#FFFFFF#000000##FFFFFF
##2F2C121.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B10
Deuteranopia (green-blind)
#312C13
Tritanopia (blue-blind)
#332926
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2f2c12;
/* rgb */ color: rgb(47, 44, 18);
/* oklch */ color: oklch(28.9% 0.042 102.7);
Tailwind
colors: {
  custom: {
    50: '#686450',
    500: '#2f2c12',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c12;
$custom-light: #686450;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c12",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 18
  },
  "hsl": {
    "h": 53.793,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.28935,
    "c": 0.04172,
    "h": 102.7
  },
  "luminance": 0.02449
}

Semantic roles & 50–950 ramp

primary
#2F2C12
secondary
#363B67
accent
#61D453
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060502
muted
#7A7A78

Preview Lab

Preview with #2F2C12

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

Preview Lab → · Contrast checker → · Palette generator →

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