#2F2B0F#2F2B0F

#2F2B0F is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.6% C 0.044 H 101.3°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#2F2B0F
RGBrgb(47, 43, 15)
HSLhsl(53, 52%, 12%)
HSVhsv(53, 68%, 18%)
CMYKcmyk(0%, 8.5%, 68.1%, 81.6%)
CIE-LABlab(17.30, -2.75, 18.44)
CIE-LCHlch(17.30, 18.64, 98.49°)
OKLaboklab(28.62% -0.0086 0.0433)
OKLCHoklch(28.62% 0.044 101.3)
XYZxyz(2.1225, 2.3667, 0.7969)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B0F #0F132F
analogous
#2F1B0F #2F2B0F #232F0F
triadic
#2F2B0F #0F2F2B #2B0F2F
tetradic
#2F2B0F #0F2F1B #0F132F #2F0F23
square
#2F2B0F #0F2F1B #0F132F #2F0F23
split-complementary
#2F2B0F #0F232F #1B0F2F
monochromatic
#171507 #171507 #2F2B0F #5D551E #8C802D

Accessibility & contrast

On white

14.25
#2F2B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2F2B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B0F
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B0F#FFFFFF#000000##FFFFFF
##2F2B0F1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A0C
Deuteranopia (green-blind)
#312B10
Tritanopia (blue-blind)
#332825
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2f2b0f;
/* rgb */ color: rgb(47, 43, 15);
/* oklch */ color: oklch(28.6% 0.044 101.3);
Tailwind
colors: {
  custom: {
    50: '#69644e',
    500: '#2f2b0f',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b0f;
$custom-light: #69644e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b0f",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 15
  },
  "hsl": {
    "h": 52.5,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28616,
    "c": 0.04417,
    "h": 101.3
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#2F2B0F
secondary
#313869
accent
#5FDB4D
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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