#2C2F0F#2C2F0F

#2C2F0F is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.4% C 0.050 H 114.0°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#2C2F0F
RGBrgb(44, 47, 15)
HSLhsl(66, 52%, 12%)
HSVhsv(66, 68%, 18%)
CMYKcmyk(6.4%, 0%, 68.1%, 81.6%)
CIE-LABlab(18.38, -6.96, 19.65)
CIE-LCHlch(18.38, 20.85, 109.51°)
OKLaboklab(29.4% -0.0204 0.0458)
OKLCHoklch(29.4% 0.05 114)
XYZxyz(2.1415, 2.6030, 0.8415)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2F0F #120F2F
analogous
#2F220F #2C2F0F #1C2F0F
triadic
#2C2F0F #0F2C2F #2F0F2C
tetradic
#2C2F0F #0F2F22 #120F2F #2F0F1C
square
#2C2F0F #0F2F22 #120F2F #2F0F1C
split-complementary
#2C2F0F #0F1C2F #220F2F
monochromatic
#161707 #161707 #2C2F0F #575D1E #838C2D

Accessibility & contrast

On white

13.81
#2C2F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2F0F
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2F0F#FFFFFF#000000##FFFFFF
##2C2F0F1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C0C
Deuteranopia (green-blind)
#332D11
Tritanopia (blue-blind)
#2F2C28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2c2f0f;
/* rgb */ color: rgb(44, 47, 15);
/* oklch */ color: oklch(29.4% 0.050 114.0);
Tailwind
colors: {
  custom: {
    50: '#66674e',
    500: '#2c2f0f',
    950: '#000000',
  },
}
SCSS
$custom: #2c2f0f;
$custom-light: #66674e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2f0f",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 15
  },
  "hsl": {
    "h": 65.625,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29395,
    "c": 0.05017,
    "h": 114
  },
  "luminance": 0.02603
}

Semantic roles & 50–950 ramp

primary
#2C2F0F
secondary
#363169
accent
#4DDB5A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2C2F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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