#2F2E0C#2F2E0C

#2F2E0C is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.4% C 0.051 H 107.6°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#2F2E0C
RGBrgb(47, 46, 12)
HSLhsl(58, 59%, 12%)
HSVhsv(58, 74%, 18%)
CMYKcmyk(0%, 2.1%, 74.5%, 81.6%)
CIE-LABlab(18.30, -5.00, 21.11)
CIE-LCHlch(18.30, 21.69, 103.34°)
OKLaboklab(29.4% -0.0155 0.0489)
OKLCHoklch(29.4% 0.051 107.6)
XYZxyz(2.2157, 2.5849, 0.7300)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E0C #0C0D2F
analogous
#2F1D0C #2F2E0C #1F2F0C
triadic
#2F2E0C #0C2F2E #2E0C2F
tetradic
#2F2E0C #0C2F1D #0C0D2F #2F0C1F
square
#2F2E0C #0C2F1D #0C0D2F #2F0C1F
split-complementary
#2F2E0C #0C1F2F #1D0C2F
monochromatic
#181806 #181806 #2F2E0C #605E18 #918D25

Accessibility & contrast

On white

13.84
#2F2E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2F2E0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E0C
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E0C#FFFFFF#000000##FFFFFF
##2F2E0C1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C08
Deuteranopia (green-blind)
#332D0E
Tritanopia (blue-blind)
#332B27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2f2e0c;
/* rgb */ color: rgb(47, 46, 12);
/* oklch */ color: oklch(29.4% 0.051 107.6);
Tailwind
colors: {
  custom: {
    50: '#69664d',
    500: '#2f2e0c',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e0c;
$custom-light: #69664d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e0c",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 12
  },
  "hsl": {
    "h": 58.286,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29395,
    "c": 0.05126,
    "h": 107.6
  },
  "luminance": 0.02585
}

Semantic roles & 50–950 ramp

primary
#2F2E0C
secondary
#2C2E6B
accent
#4AE345
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2F2E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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