#2F2B04#2F2B04

#2F2B04 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.5% C 0.056 H 103.4°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#2F2B04
RGBrgb(47, 43, 4)
HSLhsl(54, 84%, 10%)
HSVhsv(54, 91%, 18%)
CMYKcmyk(0%, 8.5%, 91.5%, 81.6%)
CIE-LABlab(17.18, -3.67, 23.07)
CIE-LCHlch(17.18, 23.36, 99.03°)
OKLaboklab(28.48% -0.0129 0.0542)
OKLCHoklch(28.48% 0.056 103.4)
XYZxyz(2.0582, 2.3409, 0.4583)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B04 #04082F
analogous
#2F1604 #2F2B04 #1D2F04
triadic
#2F2B04 #042F2B #2B042F
tetradic
#2F2B04 #042F16 #04082F #2F041D
square
#2F2B04 #042F16 #04082F #2F041D
split-complementary
#2F2B04 #041D2F #16042F
monochromatic
#1C1A02 #1C1A02 #2F2B04 #675F09 #A0920E

Accessibility & contrast

On white

14.30
#2F2B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2F2B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B04
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B04#FFFFFF#000000##FFFFFF
##2F2B041.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#312B06
Tritanopia (blue-blind)
#332723
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f2b04;
/* rgb */ color: rgb(47, 43, 4);
/* oklch */ color: oklch(28.5% 0.056 103.4);
Tailwind
colors: {
  custom: {
    50: '#696449',
    500: '#2f2b04',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b04;
$custom-light: #696449;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b04",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 4
  },
  "hsl": {
    "h": 54.419,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.28481,
    "c": 0.05568,
    "h": 103.4
  },
  "luminance": 0.02341
}

Semantic roles & 50–950 ramp

primary
#2F2B04
secondary
#1D2572
accent
#40FB2D
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2B04

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

Preview Lab → · Contrast checker → · Palette generator →

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