#2F2D0C#2F2D0C

#2F2D0C is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.1% C 0.050 H 105.8°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#2F2D0C
RGBrgb(47, 45, 12)
HSLhsl(57, 59%, 12%)
HSVhsv(57, 74%, 18%)
CMYKcmyk(0%, 4.3%, 74.5%, 81.6%)
CIE-LABlab(17.95, -4.35, 20.70)
CIE-LCHlch(17.95, 21.15, 101.88°)
OKLaboklab(29.12% -0.0136 0.0481)
OKLCHoklch(29.12% 0.05 105.8)
XYZxyz(2.1771, 2.5077, 0.7171)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D0C #0C0E2F
analogous
#2F1C0C #2F2D0C #202F0C
triadic
#2F2D0C #0C2F2D #2D0C2F
tetradic
#2F2D0C #0C2F1C #0C0E2F #2F0C20
square
#2F2D0C #0C2F1C #0C0E2F #2F0C20
split-complementary
#2F2D0C #0C202F #1C0C2F
monochromatic
#181706 #181706 #2F2D0C #605C18 #918A25

Accessibility & contrast

On white

13.99
#2F2D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2F2D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D0C
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D0C#FFFFFF#000000##FFFFFF
##2F2D0C1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B08
Deuteranopia (green-blind)
#322D0E
Tritanopia (blue-blind)
#332A26
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f2d0c;
/* rgb */ color: rgb(47, 45, 12);
/* oklch */ color: oklch(29.1% 0.050 105.8);
Tailwind
colors: {
  custom: {
    50: '#69654d',
    500: '#2f2d0c',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d0c;
$custom-light: #69654d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d0c",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 12
  },
  "hsl": {
    "h": 56.571,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2912,
    "c": 0.04997,
    "h": 105.8
  },
  "luminance": 0.02508
}

Semantic roles & 50–950 ramp

primary
#2F2D0C
secondary
#2C306B
accent
#4EE345
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2F2D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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