#2F290C#2F290C

#2F290C is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.0% C 0.045 H 97.7°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#2F290C
RGBrgb(47, 41, 12)
HSLhsl(50, 59%, 12%)
HSVhsv(50, 74%, 18%)
CMYKcmyk(0%, 12.8%, 74.5%, 81.6%)
CIE-LABlab(16.59, -1.70, 19.03)
CIE-LCHlch(16.59, 19.11, 95.09°)
OKLaboklab(28.04% -0.006 0.0449)
OKLCHoklch(28.04% 0.045 97.7)
XYZxyz(2.0317, 2.2169, 0.6686)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F290C #0C122F
analogous
#2F180C #2F290C #242F0C
triadic
#2F290C #0C2F29 #290C2F
tetradic
#2F290C #0C2F18 #0C122F #2F0C24
square
#2F290C #0C2F18 #0C122F #2F0C24
split-complementary
#2F290C #0C242F #180C2F
monochromatic
#181506 #181506 #2F290C #605418 #917E25

Accessibility & contrast

On white

14.55
#2F290C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2F290C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F290C
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F290C#FFFFFF#000000##FFFFFF
##2F290C1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2809
Deuteranopia (green-blind)
#2F2A0D
Tritanopia (blue-blind)
#332623
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2f290c;
/* rgb */ color: rgb(47, 41, 12);
/* oklch */ color: oklch(28.0% 0.045 97.7);
Tailwind
colors: {
  custom: {
    50: '#69624c',
    500: '#2f290c',
    950: '#000000',
  },
}
SCSS
$custom: #2f290c;
$custom-light: #69624c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f290c",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 12
  },
  "hsl": {
    "h": 49.714,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28035,
    "c": 0.04531,
    "h": 97.7
  },
  "luminance": 0.02217
}

Semantic roles & 50–950 ramp

primary
#2F290C
secondary
#2C376B
accent
#60E345
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F290C

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

Preview Lab → · Contrast checker → · Palette generator →

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