#2F2709#2F2709

#2F2709 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.046 H 94.1°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#2F2709
RGBrgb(47, 39, 9)
HSLhsl(47, 68%, 11%)
HSVhsv(47, 81%, 18%)
CMYKcmyk(0%, 17%, 80.9%, 81.6%)
CIE-LABlab(15.88, -0.59, 19.42)
CIE-LCHlch(15.88, 19.42, 91.73°)
OKLaboklab(27.46% -0.0033 0.0464)
OKLCHoklch(27.46% 0.046 94.1)
XYZxyz(1.9472, 2.0752, 0.5564)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2709 #09112F
analogous
#2F1409 #2F2709 #242F09
triadic
#2F2709 #092F27 #27092F
tetradic
#2F2709 #092F14 #09112F #2F0924
square
#2F2709 #092F14 #09112F #2F0924
split-complementary
#2F2709 #09242F #14092F
monochromatic
#1A1505 #1A1505 #2F2709 #625213 #967C1D

Accessibility & contrast

On white

14.84
#2F2709 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2F2709 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2709
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2709#FFFFFF#000000##FFFFFF
##2F27091.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2606
Deuteranopia (green-blind)
#2E290A
Tritanopia (blue-blind)
#332321
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2f2709;
/* rgb */ color: rgb(47, 39, 9);
/* oklch */ color: oklch(27.5% 0.046 94.1);
Tailwind
colors: {
  custom: {
    50: '#69604b',
    500: '#2f2709',
    950: '#000000',
  },
}
SCSS
$custom: #2f2709;
$custom-light: #69604b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2709",
  "rgb": {
    "r": 47,
    "g": 39,
    "b": 9
  },
  "hsl": {
    "h": 47.368,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.27463,
    "c": 0.04647,
    "h": 94.1
  },
  "luminance": 0.02075
}

Semantic roles & 50–950 ramp

primary
#2F2709
secondary
#27366D
accent
#62EB3D
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2709

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

Preview Lab → · Contrast checker → · Palette generator →

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