#2F2403#2F2403

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

Color values

HEX#2F2403
RGBrgb(47, 36, 3)
HSLhsl(45, 88%, 10%)
HSVhsv(45, 94%, 18%)
CMYKcmyk(0%, 23.4%, 93.6%, 81.6%)
CIE-LABlab(14.80, 0.98, 20.49)
CIE-LCHlch(14.80, 20.52, 87.27°)
OKLaboklab(26.59% 0 0.0507)
OKLCHoklch(26.59% 0.051 90)
XYZxyz(1.8197, 1.8728, 0.3518)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2403 #030E2F
analogous
#2F0E03 #2F2403 #242F03
triadic
#2F2403 #032F24 #24032F
tetradic
#2F2403 #032F0E #030E2F #2F0324
square
#2F2403 #032F0E #030E2F #2F0324
split-complementary
#2F2403 #03242F #0E032F
monochromatic
#1D1602 #1D1602 #2F2403 #695007 #A27C0A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F2403#FFFFFF#000000##FFFFFF
##2F24031.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)
#2C2704
Tritanopia (blue-blind)
#34201D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2f2403;
/* rgb */ color: rgb(47, 36, 3);
/* oklch */ color: oklch(26.6% 0.051 90.0);
Tailwind
colors: {
  custom: {
    50: '#695e48',
    500: '#2f2403',
    950: '#000000',
  },
}
SCSS
$custom: #2f2403;
$custom-light: #695e48;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2403",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 3
  },
  "hsl": {
    "h": 45,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26594,
    "c": 0.05071,
    "h": 90
  },
  "luminance": 0.01873
}

Semantic roles & 50–950 ramp

primary
#2F2403
secondary
#1B3173
accent
#5FFE2A
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2F2403

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

Preview Lab → · Contrast checker → · Palette generator →

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