#2F2D0B#2F2D0B

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

Color values

HEX#2F2D0B
RGBrgb(47, 45, 11)
HSLhsl(57, 62%, 11%)
HSVhsv(57, 77%, 18%)
CMYKcmyk(0%, 4.3%, 76.6%, 81.6%)
CIE-LABlab(17.94, -4.43, 21.13)
CIE-LCHlch(17.94, 21.59, 101.85°)
OKLaboklab(29.11% -0.014 0.049)
OKLCHoklch(29.11% 0.051 105.9)
XYZxyz(2.1712, 2.5053, 0.6858)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D0B #0B0D2F
analogous
#2F1B0B #2F2D0B #1F2F0B
triadic
#2F2D0B #0B2F2D #2D0B2F
tetradic
#2F2D0B #0B2F1B #0B0D2F #2F0B1F
square
#2F2D0B #0B2F1B #0B0D2F #2F0B1F
split-complementary
#2F2D0B #0B1F2F #1B0B2F
monochromatic
#191806 #191806 #2F2D0B #615C17 #928C22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F2D0B#FFFFFF#000000##FFFFFF
##2F2D0B1.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)
#312B07
Deuteranopia (green-blind)
#322D0D
Tritanopia (blue-blind)
#332A26
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f2d0b;
/* rgb */ color: rgb(47, 45, 11);
/* oklch */ color: oklch(29.1% 0.051 105.9);
Tailwind
colors: {
  custom: {
    50: '#69654c',
    500: '#2f2d0b',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d0b;
$custom-light: #69654c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d0b",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 11
  },
  "hsl": {
    "h": 56.667,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29108,
    "c": 0.05099,
    "h": 105.9
  },
  "luminance": 0.02505
}

Semantic roles & 50–950 ramp

primary
#2F2D0B
secondary
#2A2E6B
accent
#4CE543
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2F2D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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