#2F2E18#2F2E18

#2F2E18 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.6% C 0.036 H 106.2°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#2F2E18
RGBrgb(47, 46, 24)
HSLhsl(57, 32%, 14%)
HSVhsv(57, 49%, 18%)
CMYKcmyk(0%, 2.1%, 48.9%, 81.6%)
CIE-LABlab(18.47, -3.67, 14.33)
CIE-LCHlch(18.47, 14.79, 104.35°)
OKLaboklab(29.59% -0.0101 0.0349)
OKLCHoklch(29.59% 0.036 106.2)
XYZxyz(2.3142, 2.6243, 1.2486)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E18 #18192F
analogous
#2F2318 #2F2E18 #252F18
triadic
#2F2E18 #182F2E #2E182F
tetradic
#2F2E18 #182F23 #18192F #2F1825
square
#2F2E18 #182F23 #18192F #2F1825
split-complementary
#2F2E18 #18252F #23182F
monochromatic
#14140A #14140A #2F2E18 #58562D #807D41

Accessibility & contrast

On white

13.77
#2F2E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2F2E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E18
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E18#FFFFFF#000000##FFFFFF
##2F2E181.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C16
Deuteranopia (green-blind)
#322D19
Tritanopia (blue-blind)
#322B29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2f2e18;
/* rgb */ color: rgb(47, 46, 24);
/* oklch */ color: oklch(29.6% 0.036 106.2);
Tailwind
colors: {
  custom: {
    50: '#686655',
    500: '#2f2e18',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e18;
$custom-light: #686655;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e18",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 24
  },
  "hsl": {
    "h": 57.391,
    "s": 32.394,
    "l": 13.922
  },
  "oklch": {
    "l": 0.29589,
    "c": 0.03628,
    "h": 106.2
  },
  "luminance": 0.02624
}

Semantic roles & 50–950 ramp

primary
#2F2E18
secondary
#3F4164
accent
#64C95F
background
#F6F6F4
surface
#EBEBE8
border
#C6C6C4
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2F2E18

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

Preview Lab → · Contrast checker → · Palette generator →

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