#2F2702#2F2702

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

Color values

HEX#2F2702
RGBrgb(47, 39, 2)
HSLhsl(49, 92%, 10%)
HSVhsv(49, 96%, 18%)
CMYKcmyk(0%, 17%, 95.7%, 81.6%)
CIE-LABlab(15.80, -1.15, 22.17)
CIE-LCHlch(15.80, 22.20, 92.98°)
OKLaboklab(27.38% -0.0063 0.0537)
OKLCHoklch(27.38% 0.054 96.7)
XYZxyz(1.9089, 2.0599, 0.3545)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2702 #020A2F
analogous
#2F1002 #2F2702 #212F02
triadic
#2F2702 #022F27 #27022F
tetradic
#2F2702 #022F10 #020A2F #2F0221
square
#2F2702 #022F10 #020A2F #2F0221
split-complementary
#2F2702 #02212F #10022F
monochromatic
#1D1801 #1D1801 #2F2702 #6A5804 #A48807

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F2702#FFFFFF#000000##FFFFFF
##2F27021.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)
#2E2804
Tritanopia (blue-blind)
#342320
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2f2702;
/* rgb */ color: rgb(47, 39, 2);
/* oklch */ color: oklch(27.4% 0.054 96.7);
Tailwind
colors: {
  custom: {
    50: '#696047',
    500: '#2f2702',
    950: '#000000',
  },
}
SCSS
$custom: #2f2702;
$custom-light: #696047;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2702",
  "rgb": {
    "r": 47,
    "g": 39,
    "b": 2
  },
  "hsl": {
    "h": 49.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27375,
    "c": 0.05408,
    "h": 96.7
  },
  "luminance": 0.0206
}

Semantic roles & 50–950 ramp

primary
#2F2702
secondary
#192974
accent
#4FFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2F2702

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

Preview Lab → · Contrast checker → · Palette generator →

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