#2F2703#2F2703

#2F2703 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.053 H 96.3°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#2F2703
RGBrgb(47, 39, 3)
HSLhsl(49, 88%, 10%)
HSVhsv(49, 94%, 18%)
CMYKcmyk(0%, 17%, 93.6%, 81.6%)
CIE-LABlab(15.81, -1.07, 21.78)
CIE-LCHlch(15.81, 21.80, 92.82°)
OKLaboklab(27.39% -0.0058 0.0526)
OKLCHoklch(27.39% 0.053 96.3)
XYZxyz(1.9144, 2.0621, 0.3833)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2703 #030B2F
analogous
#2F1103 #2F2703 #212F03
triadic
#2F2703 #032F27 #27032F
tetradic
#2F2703 #032F11 #030B2F #2F0321
square
#2F2703 #032F11 #030B2F #2F0321
split-complementary
#2F2703 #03212F #11032F
monochromatic
#1D1802 #1D1802 #2F2703 #695707 #A2860A

Accessibility & contrast

On white

14.87
#2F2703 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2F2703 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2703
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2703#FFFFFF#000000##FFFFFF
##2F27031.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#2E2805
Tritanopia (blue-blind)
#342320
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2f2703;
/* rgb */ color: rgb(47, 39, 3);
/* oklch */ color: oklch(27.4% 0.053 96.3);
Tailwind
colors: {
  custom: {
    50: '#696048',
    500: '#2f2703',
    950: '#000000',
  },
}
SCSS
$custom: #2f2703;
$custom-light: #696048;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2703",
  "rgb": {
    "r": 47,
    "g": 39,
    "b": 3
  },
  "hsl": {
    "h": 49.091,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27388,
    "c": 0.05293,
    "h": 96.3
  },
  "luminance": 0.02062
}

Semantic roles & 50–950 ramp

primary
#2F2703
secondary
#1B2B73
accent
#50FE2A
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2F2703

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

Preview Lab → · Contrast checker → · Palette generator →

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