#2F2A0B#2F2A0B

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

Color values

HEX#2F2A0B
RGBrgb(47, 42, 11)
HSLhsl(52, 62%, 11%)
HSVhsv(52, 77%, 18%)
CMYKcmyk(0%, 10.6%, 76.6%, 81.6%)
CIE-LABlab(16.91, -2.45, 19.88)
CIE-LCHlch(16.91, 20.03, 97.03°)
OKLaboklab(28.29% -0.0084 0.0467)
OKLCHoklch(28.29% 0.047 100.1)
XYZxyz(2.0607, 2.2845, 0.6490)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A0B #0B102F
analogous
#2F180B #2F2A0B #222F0B
triadic
#2F2A0B #0B2F2A #2A0B2F
tetradic
#2F2A0B #0B2F18 #0B102F #2F0B22
square
#2F2A0B #0B2F18 #0B102F #2F0B22
split-complementary
#2F2A0B #0B222F #180B2F
monochromatic
#191606 #191606 #2F2A0B #615617 #928322

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F2A0B#FFFFFF#000000##FFFFFF
##2F2A0B1.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)
#2F2908
Deuteranopia (green-blind)
#302B0D
Tritanopia (blue-blind)
#332623
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f2a0b;
/* rgb */ color: rgb(47, 42, 11);
/* oklch */ color: oklch(28.3% 0.047 100.1);
Tailwind
colors: {
  custom: {
    50: '#69634c',
    500: '#2f2a0b',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a0b;
$custom-light: #69634c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a0b",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 11
  },
  "hsl": {
    "h": 51.667,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.28291,
    "c": 0.04744,
    "h": 100.1
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#2F2A0B
secondary
#2A336B
accent
#59E543
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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