#2F290E#2F290E

#2F290E is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.1% C 0.043 H 96.9°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#2F290E
RGBrgb(47, 41, 14)
HSLhsl(49, 54%, 12%)
HSVhsv(49, 70%, 18%)
CMYKcmyk(0%, 12.8%, 70.2%, 81.6%)
CIE-LABlab(16.61, -1.51, 18.10)
CIE-LCHlch(16.61, 18.17, 94.77°)
OKLaboklab(28.06% -0.0052 0.0428)
OKLCHoklch(28.06% 0.043 96.9)
XYZxyz(2.0446, 2.2220, 0.7366)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F290E #0E142F
analogous
#2F190E #2F290E #252F0E
triadic
#2F290E #0E2F29 #290E2F
tetradic
#2F290E #0E2F19 #0E142F #2F0E25
square
#2F290E #0E2F19 #0E142F #2F0E25
split-complementary
#2F290E #0E252F #190E2F
monochromatic
#181507 #181507 #2F290E #5E521C #8D7B2A

Accessibility & contrast

On white

14.54
#2F290E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F290E
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F290E#FFFFFF#000000##FFFFFF
##2F290E1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f290e;
/* rgb */ color: rgb(47, 41, 14);
/* oklch */ color: oklch(28.1% 0.043 96.9);
Tailwind
colors: {
  custom: {
    50: '#69624d',
    500: '#2f290e',
    950: '#000000',
  },
}
SCSS
$custom: #2f290e;
$custom-light: #69624d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f290e",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 14
  },
  "hsl": {
    "h": 49.091,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28063,
    "c": 0.04308,
    "h": 96.9
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#2F290E
secondary
#2F3A69
accent
#65DD4A
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F290E

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

Preview Lab → · Contrast checker → · Palette generator →

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