#2F2603#2F2603

#2F2603 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.1% C 0.052 H 94.3°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#2F2603
RGBrgb(47, 38, 3)
HSLhsl(48, 88%, 10%)
HSVhsv(48, 94%, 18%)
CMYKcmyk(0%, 19.1%, 93.6%, 81.6%)
CIE-LABlab(15.47, -0.39, 21.35)
CIE-LCHlch(15.47, 21.35, 91.06°)
OKLaboklab(27.12% -0.0039 0.052)
OKLCHoklch(27.12% 0.052 94.3)
XYZxyz(1.8819, 1.9973, 0.3725)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2603 #030C2F
analogous
#2F1003 #2F2603 #222F03
triadic
#2F2603 #032F26 #26032F
tetradic
#2F2603 #032F10 #030C2F #2F0322
square
#2F2603 #032F10 #030C2F #2F0322
split-complementary
#2F2603 #03222F #10032F
monochromatic
#1D1702 #1D1702 #2F2603 #695507 #A2830A

Accessibility & contrast

On white

15.01
#2F2603 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2F2603 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2603
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2603#FFFFFF#000000##FFFFFF
##2F26031.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#2E2805
Tritanopia (blue-blind)
#34221F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2f2603;
/* rgb */ color: rgb(47, 38, 3);
/* oklch */ color: oklch(27.1% 0.052 94.3);
Tailwind
colors: {
  custom: {
    50: '#696048',
    500: '#2f2603',
    950: '#000000',
  },
}
SCSS
$custom: #2f2603;
$custom-light: #696048;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2603",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 3
  },
  "hsl": {
    "h": 47.727,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27121,
    "c": 0.05213,
    "h": 94.3
  },
  "luminance": 0.01997
}

Semantic roles & 50–950 ramp

primary
#2F2603
secondary
#1B2D73
accent
#55FE2A
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2F2603

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

Preview Lab → · Contrast checker → · Palette generator →

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