#2F260B#2F260B

#2F260B is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.2% C 0.044 H 90.7°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#2F260B
RGBrgb(47, 38, 11)
HSLhsl(45, 62%, 11%)
HSVhsv(45, 77%, 18%)
CMYKcmyk(0%, 19.1%, 76.6%, 81.6%)
CIE-LABlab(15.56, 0.26, 18.20)
CIE-LCHlch(15.56, 18.20, 89.19°)
OKLaboklab(27.22% -0.0006 0.0436)
OKLCHoklch(27.22% 0.044 90.7)
XYZxyz(1.9259, 2.0148, 0.6040)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F260B #0B142F
analogous
#2F140B #2F260B #262F0B
triadic
#2F260B #0B2F26 #260B2F
tetradic
#2F260B #0B2F14 #0B142F #2F0B26
square
#2F260B #0B2F14 #0B142F #2F0B26
split-complementary
#2F260B #0B262F #140B2F
monochromatic
#191406 #191406 #2F260B #614E17 #927622

Accessibility & contrast

On white

14.97
#2F260B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2F260B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F260B
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F260B#FFFFFF#000000##FFFFFF
##2F260B1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2508
Deuteranopia (green-blind)
#2D280C
Tritanopia (blue-blind)
#332220
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2f260b;
/* rgb */ color: rgb(47, 38, 11);
/* oklch */ color: oklch(27.2% 0.044 90.7);
Tailwind
colors: {
  custom: {
    50: '#69604c',
    500: '#2f260b',
    950: '#000000',
  },
}
SCSS
$custom: #2f260b;
$custom-light: #69604c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f260b",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 11
  },
  "hsl": {
    "h": 45,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27223,
    "c": 0.04358,
    "h": 90.7
  },
  "luminance": 0.02015
}

Semantic roles & 50–950 ramp

primary
#2F260B
secondary
#2A3B6B
accent
#6BE543
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2F260B

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

Preview Lab → · Contrast checker → · Palette generator →

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