#2F2A0E#2F2A0E

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

Color values

HEX#2F2A0E
RGBrgb(47, 42, 14)
HSLhsl(51, 54%, 12%)
HSVhsv(51, 70%, 18%)
CMYKcmyk(0%, 10.6%, 70.2%, 81.6%)
CIE-LABlab(16.95, -2.18, 18.52)
CIE-LCHlch(16.95, 18.65, 96.72°)
OKLaboklab(28.33% -0.0071 0.0436)
OKLCHoklch(28.33% 0.044 99.3)
XYZxyz(2.0796, 2.2921, 0.7482)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A0E #0E132F
analogous
#2F1A0E #2F2A0E #242F0E
triadic
#2F2A0E #0E2F2A #2A0E2F
tetradic
#2F2A0E #0E2F1A #0E132F #2F0E24
square
#2F2A0E #0E2F1A #0E132F #2F0E24
split-complementary
#2F2A0E #0E242F #1A0E2F
monochromatic
#181507 #181507 #2F2A0E #5E541C #8D7E2A

Accessibility & contrast

On white

14.40
#2F2A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2A0E
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A0E#FFFFFF#000000##FFFFFF
##2F2A0E1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2a0e;
/* rgb */ color: rgb(47, 42, 14);
/* oklch */ color: oklch(28.3% 0.044 99.3);
Tailwind
colors: {
  custom: {
    50: '#69634e',
    500: '#2f2a0e',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a0e;
$custom-light: #69634e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a0e",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 14
  },
  "hsl": {
    "h": 50.909,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28331,
    "c": 0.04417,
    "h": 99.3
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#2F2A0E
secondary
#2F3869
accent
#61DD4A
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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