#2F2607#2F2607

#2F2607 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.2% C 0.048 H 92.6°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#2F2607
RGBrgb(47, 38, 7)
HSLhsl(47, 74%, 11%)
HSVhsv(47, 85%, 18%)
CMYKcmyk(0%, 19.1%, 85.1%, 81.6%)
CIE-LABlab(15.52, -0.07, 19.78)
CIE-LCHlch(15.52, 19.78, 90.19°)
OKLaboklab(27.17% -0.0022 0.0477)
OKLCHoklch(27.17% 0.048 92.6)
XYZxyz(1.9039, 2.0060, 0.4879)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2607 #07102F
analogous
#2F1207 #2F2607 #242F07
triadic
#2F2607 #072F26 #26072F
tetradic
#2F2607 #072F12 #07102F #2F0724
square
#2F2607 #072F12 #07102F #2F0724
split-complementary
#2F2607 #07242F #12072F
monochromatic
#1B1604 #1B1604 #2F2607 #64510F #9A7C17

Accessibility & contrast

On white

14.99
#2F2607 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2F2607 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2607
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2607#FFFFFF#000000##FFFFFF
##2F26071.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2504
Deuteranopia (green-blind)
#2D2808
Tritanopia (blue-blind)
#342220
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2f2607;
/* rgb */ color: rgb(47, 38, 7);
/* oklch */ color: oklch(27.2% 0.048 92.6);
Tailwind
colors: {
  custom: {
    50: '#69604a',
    500: '#2f2607',
    950: '#000000',
  },
}
SCSS
$custom: #2f2607;
$custom-light: #69604a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2607",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 7
  },
  "hsl": {
    "h": 46.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27172,
    "c": 0.04771,
    "h": 92.6
  },
  "luminance": 0.02006
}

Semantic roles & 50–950 ramp

primary
#2F2607
secondary
#23346F
accent
#61F137
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2F2607

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

Preview Lab → · Contrast checker → · Palette generator →

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