#2F2E04#2F2E04

#2F2E04 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.3% C 0.059 H 108.2°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#2F2E04
RGBrgb(47, 46, 4)
HSLhsl(59, 84%, 10%)
HSVhsv(59, 91%, 18%)
CMYKcmyk(0%, 2.1%, 91.5%, 81.6%)
CIE-LABlab(18.22, -5.63, 24.32)
CIE-LCHlch(18.22, 24.96, 103.03°)
OKLaboklab(29.31% -0.0184 0.0561)
OKLCHoklch(29.31% 0.059 108.2)
XYZxyz(2.1713, 2.5672, 0.4960)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E04 #04052F
analogous
#2F1904 #2F2E04 #1A2F04
triadic
#2F2E04 #042F2E #2E042F
tetradic
#2F2E04 #042F19 #04052F #2F041A
square
#2F2E04 #042F19 #04052F #2F041A
split-complementary
#2F2E04 #041A2F #19042F
monochromatic
#1C1C02 #1C1C02 #2F2E04 #676509 #A09C0E

Accessibility & contrast

On white

13.88
#2F2E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2F2E04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E04
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E04#FFFFFF#000000##FFFFFF
##2F2E041.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#332D07
Tritanopia (blue-blind)
#332A26
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f2e04;
/* rgb */ color: rgb(47, 46, 4);
/* oklch */ color: oklch(29.3% 0.059 108.2);
Tailwind
colors: {
  custom: {
    50: '#696649',
    500: '#2f2e04',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e04;
$custom-light: #696649;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e04",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 4
  },
  "hsl": {
    "h": 58.605,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.29307,
    "c": 0.05908,
    "h": 108.2
  },
  "luminance": 0.02567
}

Semantic roles & 50–950 ramp

primary
#2F2E04
secondary
#1D1F72
accent
#32FB2D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2F2E04

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

Preview Lab → · Contrast checker → · Palette generator →

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