#2F2A0D#2F2A0D

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

Color values

HEX#2F2A0D
RGBrgb(47, 42, 13)
HSLhsl(51, 57%, 12%)
HSVhsv(51, 72%, 18%)
CMYKcmyk(0%, 10.6%, 72.3%, 81.6%)
CIE-LABlab(16.94, -2.28, 19.00)
CIE-LCHlch(16.94, 19.14, 96.83°)
OKLaboklab(28.32% -0.0076 0.0447)
OKLCHoklch(28.32% 0.045 99.6)
XYZxyz(2.0730, 2.2894, 0.7134)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A0D #0D122F
analogous
#2F190D #2F2A0D #232F0D
triadic
#2F2A0D #0D2F2A #2A0D2F
tetradic
#2F2A0D #0D2F19 #0D122F #2F0D23
square
#2F2A0D #0D2F19 #0D122F #2F0D23
split-complementary
#2F2A0D #0D232F #190D2F
monochromatic
#181507 #181507 #2F2A0D #5F551A #8F8028

Accessibility & contrast

On white

14.41
#2F2A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2A0D
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A0D#FFFFFF#000000##FFFFFF
##2F2A0D1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F290A
Deuteranopia (green-blind)
#302B0E
Tritanopia (blue-blind)
#332724
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f2a0d;
/* rgb */ color: rgb(47, 42, 13);
/* oklch */ color: oklch(28.3% 0.045 99.6);
Tailwind
colors: {
  custom: {
    50: '#69634d',
    500: '#2f2a0d',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a0d;
$custom-light: #69634d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a0d",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 13
  },
  "hsl": {
    "h": 51.176,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28317,
    "c": 0.04531,
    "h": 99.6
  },
  "luminance": 0.02289
}

Semantic roles & 50–950 ramp

primary
#2F2A0D
secondary
#2E376A
accent
#5EE048
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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