#2F2A0A#2F2A0A

#2F2A0A is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.3% C 0.048 H 100.4°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#2F2A0A
RGBrgb(47, 42, 10)
HSLhsl(52, 65%, 11%)
HSVhsv(52, 79%, 18%)
CMYKcmyk(0%, 10.6%, 78.7%, 81.6%)
CIE-LABlab(16.90, -2.53, 20.29)
CIE-LCHlch(16.90, 20.44, 97.12°)
OKLaboklab(28.28% -0.0087 0.0477)
OKLCHoklch(28.28% 0.048 100.4)
XYZxyz(2.0551, 2.2823, 0.6194)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A0A #0A0F2F
analogous
#2F170A #2F2A0A #212F0A
triadic
#2F2A0A #0A2F2A #2A0A2F
tetradic
#2F2A0A #0A2F17 #0A0F2F #2F0A21
square
#2F2A0A #0A2F17 #0A0F2F #2F0A21
split-complementary
#2F2A0A #0A212F #170A2F
monochromatic
#191705 #191705 #2F2A0A #615715 #94841F

Accessibility & contrast

On white

14.42
#2F2A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2F2A0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2A0A
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A0A#FFFFFF#000000##FFFFFF
##2F2A0A1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2a0a;
/* rgb */ color: rgb(47, 42, 10);
/* oklch */ color: oklch(28.3% 0.048 100.4);
Tailwind
colors: {
  custom: {
    50: '#69634b',
    500: '#2f2a0a',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a0a;
$custom-light: #69634b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a0a",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 10
  },
  "hsl": {
    "h": 51.892,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28279,
    "c": 0.04845,
    "h": 100.4
  },
  "luminance": 0.02282
}

Semantic roles & 50–950 ramp

primary
#2F2A0A
secondary
#29326C
accent
#57E840
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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