#2F2507#2F2507

#2F2507 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.9% C 0.047 H 90.3°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#2F2507
RGBrgb(47, 37, 7)
HSLhsl(45, 74%, 11%)
HSVhsv(45, 85%, 18%)
CMYKcmyk(0%, 21.3%, 85.1%, 81.6%)
CIE-LABlab(15.18, 0.62, 19.35)
CIE-LCHlch(15.18, 19.36, 88.17°)
OKLaboklab(26.91% -0.0002 0.047)
OKLCHoklch(26.91% 0.047 90.3)
XYZxyz(1.8723, 1.9429, 0.4774)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2507 #07112F
analogous
#2F1107 #2F2507 #252F07
triadic
#2F2507 #072F25 #25072F
tetradic
#2F2507 #072F11 #07112F #2F0725
square
#2F2507 #072F11 #07112F #2F0725
split-complementary
#2F2507 #07252F #11072F
monochromatic
#1B1504 #1B1504 #2F2507 #644F0F #9A7917

Accessibility & contrast

On white

15.12
#2F2507 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2F2507 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2507
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2507#FFFFFF#000000##FFFFFF
##2F25071.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2404
Deuteranopia (green-blind)
#2D2708
Tritanopia (blue-blind)
#34211F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2f2507;
/* rgb */ color: rgb(47, 37, 7);
/* oklch */ color: oklch(26.9% 0.047 90.3);
Tailwind
colors: {
  custom: {
    50: '#695f4a',
    500: '#2f2507',
    950: '#000000',
  },
}
SCSS
$custom: #2f2507;
$custom-light: #695f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2507",
  "rgb": {
    "r": 47,
    "g": 37,
    "b": 7
  },
  "hsl": {
    "h": 45,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.26909,
    "c": 0.04695,
    "h": 90.3
  },
  "luminance": 0.01943
}

Semantic roles & 50–950 ramp

primary
#2F2507
secondary
#23366F
accent
#65F137
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2F2507

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

Preview Lab → · Contrast checker → · Palette generator →

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