#2F2A04#2F2A04

#2F2A04 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.2% C 0.055 H 101.7°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#2F2A04
RGBrgb(47, 42, 4)
HSLhsl(53, 84%, 10%)
HSVhsv(53, 91%, 18%)
CMYKcmyk(0%, 10.6%, 91.5%, 81.6%)
CIE-LABlab(16.84, -3.00, 22.65)
CIE-LCHlch(16.84, 22.85, 97.55°)
OKLaboklab(28.21% -0.0111 0.0535)
OKLCHoklch(28.21% 0.055 101.7)
XYZxyz(2.0223, 2.2691, 0.4463)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A04 #04092F
analogous
#2F1404 #2F2A04 #1F2F04
triadic
#2F2A04 #042F2A #2A042F
tetradic
#2F2A04 #042F14 #04092F #2F041F
square
#2F2A04 #042F14 #04092F #2F041F
split-complementary
#2F2A04 #041F2F #14042F
monochromatic
#1C1902 #1C1902 #2F2A04 #675C09 #A08F0E

Accessibility & contrast

On white

14.44
#2F2A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2F2A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2A04
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A04#FFFFFF#000000##FFFFFF
##2F2A041.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#302A06
Tritanopia (blue-blind)
#332623
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f2a04;
/* rgb */ color: rgb(47, 42, 4);
/* oklch */ color: oklch(28.2% 0.055 101.7);
Tailwind
colors: {
  custom: {
    50: '#696349',
    500: '#2f2a04',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a04;
$custom-light: #696349;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a04",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 4
  },
  "hsl": {
    "h": 53.023,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.28209,
    "c": 0.05464,
    "h": 101.7
  },
  "luminance": 0.02269
}

Semantic roles & 50–950 ramp

primary
#2F2A04
secondary
#1D2772
accent
#45FB2D
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2F2A04

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

Preview Lab → · Contrast checker → · Palette generator →

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