#2F2402#2F2402

#2F2402 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.6% C 0.052 H 90.5°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#2F2402
RGBrgb(47, 36, 2)
HSLhsl(45, 92%, 10%)
HSVhsv(45, 96%, 18%)
CMYKcmyk(0%, 23.4%, 95.7%, 81.6%)
CIE-LABlab(14.79, 0.90, 20.89)
CIE-LCHlch(14.79, 20.91, 87.54°)
OKLaboklab(26.58% -0.0005 0.0519)
OKLCHoklch(26.58% 0.052 90.5)
XYZxyz(1.8142, 1.8706, 0.3229)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2402 #020D2F
analogous
#2F0D02 #2F2402 #242F02
triadic
#2F2402 #022F24 #24022F
tetradic
#2F2402 #022F0D #020D2F #2F0224
square
#2F2402 #022F0D #020D2F #2F0224
split-complementary
#2F2402 #02242F #0D022F
monochromatic
#1D1601 #1D1601 #2F2402 #6A5104 #A47E07

Accessibility & contrast

On white

15.28
#2F2402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#2F2402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2402
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2402#FFFFFF#000000##FFFFFF
##2F24021.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2300
Deuteranopia (green-blind)
#2C2703
Tritanopia (blue-blind)
#34201D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2f2402;
/* rgb */ color: rgb(47, 36, 2);
/* oklch */ color: oklch(26.6% 0.052 90.5);
Tailwind
colors: {
  custom: {
    50: '#695e47',
    500: '#2f2402',
    950: '#000000',
  },
}
SCSS
$custom: #2f2402;
$custom-light: #695e47;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2402",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 2
  },
  "hsl": {
    "h": 45.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26581,
    "c": 0.05188,
    "h": 90.5
  },
  "luminance": 0.0187
}

Semantic roles & 50–950 ramp

primary
#2F2402
secondary
#192F74
accent
#5DFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2F2402

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

Preview Lab → · Contrast checker → · Palette generator →

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