#2F2F04#2F2F04

#2F2F04 is a dark, moderate yellow. Relative luminance 0.026; OKLCH L 29.6% C 0.060 H 109.6°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#2F2F04
RGBrgb(47, 47, 4)
HSLhsl(60, 84%, 10%)
HSVhsv(60, 91%, 18%)
CMYKcmyk(0%, 0%, 91.5%, 81.6%)
CIE-LABlab(18.57, -6.27, 24.73)
CIE-LCHlch(18.57, 25.51, 104.23°)
OKLaboklab(29.59% -0.0202 0.0568)
OKLCHoklch(29.59% 0.06 109.6)
XYZxyz(2.2108, 2.6462, 0.5092)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F04 #04042F
analogous
#2F1A04 #2F2F04 #1A2F04
triadic
#2F2F04 #042F2F #2F042F
tetradic
#2F2F04 #042F1A #04042F #2F041A
square
#2F2F04 #042F1A #04042F #2F041A
split-complementary
#2F2F04 #04192F #19042F
monochromatic
#1C1C02 #1C1C02 #2F2F04 #676709 #A0A00E

Accessibility & contrast

On white

13.73
#2F2F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2F2F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2F04
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F04#FFFFFF#000000##FFFFFF
##2F2F041.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D00
Deuteranopia (green-blind)
#342E07
Tritanopia (blue-blind)
#332B27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2f2f04;
/* rgb */ color: rgb(47, 47, 4);
/* oklch */ color: oklch(29.6% 0.060 109.6);
Tailwind
colors: {
  custom: {
    50: '#696749',
    500: '#2f2f04',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f04;
$custom-light: #696749;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f04",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 60,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.29585,
    "c": 0.0603,
    "h": 109.6
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#2F2F04
secondary
#1D1D72
accent
#2DFB2D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F2F04

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

Preview Lab → · Contrast checker → · Palette generator →

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