#2F2D0F#2F2D0F

#2F2D0F is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.2% C 0.047 H 105.4°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#2F2D0F
RGBrgb(47, 45, 15)
HSLhsl(56, 52%, 12%)
HSVhsv(56, 68%, 18%)
CMYKcmyk(0%, 4.3%, 68.1%, 81.6%)
CIE-LABlab(17.99, -4.08, 19.26)
CIE-LCHlch(17.99, 19.69, 101.95°)
OKLaboklab(29.16% -0.0124 0.045)
OKLCHoklch(29.16% 0.047 105.4)
XYZxyz(2.1970, 2.5157, 0.8217)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D0F #0F112F
analogous
#2F1D0F #2F2D0F #212F0F
triadic
#2F2D0F #0F2F2D #2D0F2F
tetradic
#2F2D0F #0F2F1D #0F112F #2F0F21
square
#2F2D0F #0F2F1D #0F112F #2F0F21
split-complementary
#2F2D0F #0F212F #1D0F2F
monochromatic
#171607 #171607 #2F2D0F #5D591E #8C862D

Accessibility & contrast

On white

13.97
#2F2D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2D0F
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D0F#FFFFFF#000000##FFFFFF
##2F2D0F1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2d0f;
/* rgb */ color: rgb(47, 45, 15);
/* oklch */ color: oklch(29.2% 0.047 105.4);
Tailwind
colors: {
  custom: {
    50: '#69654e',
    500: '#2f2d0f',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d0f;
$custom-light: #69654e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d0f",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 15
  },
  "hsl": {
    "h": 56.25,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2916,
    "c": 0.04668,
    "h": 105.4
  },
  "luminance": 0.02516
}

Semantic roles & 50–950 ramp

primary
#2F2D0F
secondary
#313569
accent
#56DB4D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2F2D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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